Skip to content

Commit 27bff2a

Browse files
committed
Fix mypy heisenfailure on Windows
1 parent dc8378e commit 27bff2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/reader_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,6 @@ def test_closed_metadata(self) -> None:
522522
self.assertIsNotNone(metadata, "pure Python implementation returns value")
523523

524524
if os.name != "nt":
525-
526525
def test_multiprocessing(self):
527526
self._check_concurrency(self.mp.Process)
528527

@@ -543,6 +542,7 @@ def lookup(pipe) -> None:
543542
except:
544543
pipe.send(0)
545544
finally:
545+
# type: ignore[attr-defined]
546546
if worker_class is self.mp.Process:
547547
reader.close()
548548
pipe.close()

0 commit comments

Comments
 (0)