Skip to content

Commit ec7d622

Browse files
committed
Merge branch 'main' of github.com:dask/distributed into slow-tick-tests
2 parents 8240690 + 0da6d50 commit ec7d622

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

distributed/utils_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ class _SafeTemporaryDirectory(tempfile.TemporaryDirectory):
646646
def __exit__(self, exc_type, exc_val, exc_tb):
647647
try:
648648
return super().__exit__(exc_type, exc_val, exc_tb)
649-
except PermissionError:
649+
except (PermissionError, NotADirectoryError):
650650
# It appears that we either have a process still interacting with
651651
# the tmpdirs of the workers or that win process are not releasing
652652
# their lock in time. We are receiving PermissionErrors during

0 commit comments

Comments
 (0)