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 6d624fc commit cd44e24Copy full SHA for cd44e24
pytest_playwright/pytest_playwright.py
@@ -70,7 +70,7 @@ def delete_output_dir(pytestconfig: Any) -> None:
70
if os.path.exists(output_dir):
71
try:
72
shutil.rmtree(output_dir)
73
- except FileNotFoundError:
+ except (FileNotFoundError, PermissionError):
74
# When running in parallel, another thread may have already deleted the files
75
pass
76
except OSError as error:
0 commit comments