mirror of
https://github.com/python/cpython.git
synced 2026-05-16 09:29:00 -04:00
Issue #22854: Fix logic for skipping test
This commit is contained in:
+1
-1
@@ -449,7 +449,7 @@ class IOTest(unittest.TestCase):
|
||||
else:
|
||||
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):
|
||||
# Pipes seem to appear as seekable on Windows
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user