Skip to content

Commit 1ca28bd

Browse files
committed
run-tests: Reset MICROPYPATH, to make sure tests use only builtin modules.
1 parent dbc7854 commit 1ca28bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/run-tests

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ else:
1919

2020
# Set PYTHONIOENCODING so that CPython will use utf-8 on systems which set another encoding in the locale
2121
os.environ['PYTHONIOENCODING'] = 'utf-8'
22+
os.environ['MICROPYPATH'] = ''
2223

2324
def rm_f(fname):
2425
if os.path.exists(fname):

0 commit comments

Comments
 (0)