Skip to content

Commit

Permalink
Fix mypy heisenfailure on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Jan 29, 2025
1 parent dc8378e commit 7952cd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/reader_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ def lookup(pipe) -> None:
except:
pipe.send(0)
finally:
# type: ignore[attr-defined]
if worker_class is self.mp.Process:
reader.close()
pipe.close()
Expand Down

0 comments on commit 7952cd4

Please sign in to comment.