Skip to content

Commit 7952cd4

Browse files
committed
Fix mypy heisenfailure on Windows
1 parent dc8378e commit 7952cd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/reader_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ def lookup(pipe) -> None:
543543
except:
544544
pipe.send(0)
545545
finally:
546+
# type: ignore[attr-defined]
546547
if worker_class is self.mp.Process:
547548
reader.close()
548549
pipe.close()

0 commit comments

Comments
 (0)