Skip to content

Commit

Permalink
Merge branch 'main' of github.com:dask/distributed into event-loop-da…
Browse files Browse the repository at this point in the history
…shboard
  • Loading branch information
mrocklin committed Mar 24, 2022
2 parents d9ebab2 + 0da6d50 commit b780de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ class _SafeTemporaryDirectory(tempfile.TemporaryDirectory):
def __exit__(self, exc_type, exc_val, exc_tb):
try:
return super().__exit__(exc_type, exc_val, exc_tb)
except PermissionError:
except (PermissionError, NotADirectoryError):
# It appears that we either have a process still interacting with
# the tmpdirs of the workers or that win process are not releasing
# their lock in time. We are receiving PermissionErrors during
Expand Down

0 comments on commit b780de3

Please sign in to comment.