run-tests: Reset MICROPYPATH, to make sure tests use only builtin modules.

This commit is contained in:
Paul Sokolovsky 2014-12-12 00:57:03 +02:00
parent dbc7854355
commit 1ca28bd570

View File

@ -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):