From 27bff2a74a5774f4cd26a230ec54a16b559425b4 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Wed, 29 Jan 2025 13:40:31 -0800 Subject: [PATCH] Fix mypy heisenfailure on Windows --- tests/reader_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/reader_test.py b/tests/reader_test.py index 9d7de60..0dc462a 100644 --- a/tests/reader_test.py +++ b/tests/reader_test.py @@ -522,7 +522,6 @@ def test_closed_metadata(self) -> None: self.assertIsNotNone(metadata, "pure Python implementation returns value") if os.name != "nt": - def test_multiprocessing(self): self._check_concurrency(self.mp.Process) @@ -543,6 +542,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()