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 e2451df commit e7a2b10Copy full SHA for e7a2b10
src/_pytest/tmpdir.py
@@ -119,7 +119,7 @@ def delete_a_numbered_dir(path):
119
120
garbage = parent.joinpath("garbage-{}".format(uuid.uuid4()))
121
path.rename(garbage)
122
- shutil.rmtree(str(garbage))
+ shutil.rmtree(str(garbage), ignore_errors=True)
123
124
125
def ensure_deletable(path, consider_lock_dead_if_created_before):
0 commit comments