diff options
Diffstat (limited to 'tests/import/ext/time.py')
| -rw-r--r-- | tests/import/ext/time.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/import/ext/time.py b/tests/import/ext/time.py new file mode 100644 index 000000000..6f2d4a42c --- /dev/null +++ b/tests/import/ext/time.py @@ -0,0 +1,14 @@ +print("time from filesystem") + +# Tests the CPython-compatible / non-u-prefix way of forcing a builtin +# import. +import sys + +_path = sys.path[:] +sys.path.clear() +from time import * + +sys.path.extend(_path) +del _path + +extra = 1 |
