Commit 3ee147ff authored by Martin Panter's avatar Martin Panter

Issue #22854: Fix logic for skipping test

parent e4ba8725
...@@ -449,7 +449,7 @@ class IOTest(unittest.TestCase): ...@@ -449,7 +449,7 @@ class IOTest(unittest.TestCase):
else: else:
self.assertRaises(OSError, obj.write, data) self.assertRaises(OSError, obj.write, data)
if sys.platform.startswith("win") or test in ( if sys.platform.startswith("win") and test in (
pipe_reader, pipe_writer): pipe_reader, pipe_writer):
# Pipes seem to appear as seekable on Windows # Pipes seem to appear as seekable on Windows
continue continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment