run-tests: Reset MICROPYPATH, to make sure tests use only builtin modules.
This commit is contained in:
parent
dbc7854355
commit
1ca28bd570
@ -19,6 +19,7 @@ else:
|
|||||||
|
|
||||||
# Set PYTHONIOENCODING so that CPython will use utf-8 on systems which set another encoding in the locale
|
# Set PYTHONIOENCODING so that CPython will use utf-8 on systems which set another encoding in the locale
|
||||||
os.environ['PYTHONIOENCODING'] = 'utf-8'
|
os.environ['PYTHONIOENCODING'] = 'utf-8'
|
||||||
|
os.environ['MICROPYPATH'] = ''
|
||||||
|
|
||||||
def rm_f(fname):
|
def rm_f(fname):
|
||||||
if os.path.exists(fname):
|
if os.path.exists(fname):
|
||||||
|
Loading…
Reference in New Issue
Block a user