mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #22854: Fix logic for skipping test
This commit is contained in:
parent
e4ba872543
commit
3ee147ffbb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue