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 9a41bdd commit 5577cd5Copy full SHA for 5577cd5
tests/test_trace_benchmarks.py
@@ -150,5 +150,5 @@ def test_code_to_optimize_bubble_sort_codeflash_trace_sorter():
150
assert test_sort_path.read_text("utf-8").strip()==test_sort_code.strip()
151
finally:
152
# cleanup
153
- shutil.rmtree(tests_root)
154
- pass
+ if tests_root.exists():
+ shutil.rmtree(tests_root, ignore_errors=True)
0 commit comments