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 59c3143 commit 2c759abCopy full SHA for 2c759ab
tests/test_venv.py
@@ -213,8 +213,8 @@ def test_third_party_venv_isnt_measured(
213
try:
214
run_in_venv("python -m pip install .")
215
finally:
216
- shutil.rmtree("build")
217
- shutil.rmtree("myproduct.egg-info")
+ shutil.rmtree("build", ignore_errors=True)
+ shutil.rmtree("myproduct.egg-info", ignore_errors=True)
218
# Ensure that coverage doesn't run the non-installed module.
219
os.remove('myproduct.py')
220
out = run_in_venv(coverage_command + " run --source=.,myproduct -m myproduct")
0 commit comments