Skip cleanup if its not needed (when a test is skipped)

This commit is contained in:
Joe Rickerby
2019-04-22 18:55:55 +01:00
parent 364fc5220e
commit 8b632bcb6d
+2 -1
View File
@@ -10,7 +10,8 @@ def single_run(test_project):
)
# clean up
shutil.rmtree('wheelhouse')
if os.path.exists('wheelhouse'):
shutil.rmtree('wheelhouse')
if __name__ == '__main__':
import argparse