micropython/tests/import/ext/time.py
Jim Mussared 4216bc7d13 tests: Replace umodule with module everywhere.
This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-06-08 17:54:24 +10:00

15 lines
213 B
Python

print("time from filesystem")
# Tests the CPython-compatible / non-u-prefix way of forcing a builtin
# import.
import sys
_path = sys.path
sys.path = ()
from time import *
sys.path = _path
del _path
extra = 1