We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b3f423 commit 5b2db4bCopy full SHA for 5b2db4b
1 file changed
tests/run-tests
@@ -456,7 +456,10 @@ def main():
456
# clear search path to make sure tests use only builtin modules
457
os.environ['MICROPYPATH'] = ''
458
459
- if not run_tests(pyb, tests, args):
+ res = run_tests(pyb, tests, args)
460
+ if pyb:
461
+ pyb.close()
462
+ if not res:
463
sys.exit(1)
464
465
if __name__ == "__main__":
0 commit comments