We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 047af9b commit 1034d9aCopy full SHA for 1034d9a
1 file changed
tools/gen-cpydiff.py
@@ -203,8 +203,9 @@ def gen_rst(results):
203
def main():
204
""" Main function """
205
206
- # clear search path to make sure tests use only builtin modules
207
- os.environ['MICROPYPATH'] = ''
+ # set search path so that test scripts find the test modules (and no other ones)
+ os.environ['PYTHONPATH'] = TESTPATH
208
+ os.environ['MICROPYPATH'] = TESTPATH
209
210
files = readfiles()
211
results = run_tests(files)
0 commit comments