We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d47ce49 commit 6489278Copy full SHA for 6489278
tests/test_other.py
@@ -468,7 +468,12 @@ def check_makefile(configuration, dirname):
468
self.assertTextDataIdentical(open(cmakelistsdir + '/out.txt', 'r').read().strip(), ret.strip())
469
finally:
470
os.chdir(path_from_root('tests')) # Move away from the directory we are about to remove.
471
- shutil.rmtree(tempdirname)
+ #there is a race condition under windows here causing an exception in shutil.rmtree because the directory is not empty yet
472
+ try:
473
+ shutil.rmtree(tempdirname)
474
+ except:
475
+ time.sleep(0.1)
476
477
478
def test_failure_error_code(self):
479
for compiler in [EMCC, EMXX]:
0 commit comments