diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-03-31 21:05:31 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-03-31 21:05:31 (GMT) |
commit | 3ee147ffbb944646843a7310da7139cbfb985ce0 (patch) | |
tree | caa789e4bb7d38d27c8e6c0276bbdb7222d1cff1 /Lib/test | |
parent | e4ba8725437e646004337c6a68aed493f2eb2023 (diff) | |
download | cpython-3ee147ffbb944646843a7310da7139cbfb985ce0.zip cpython-3ee147ffbb944646843a7310da7139cbfb985ce0.tar.gz cpython-3ee147ffbb944646843a7310da7139cbfb985ce0.tar.bz2 |
Issue #22854: Fix logic for skipping test
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index f3b33f2..a7bb95b 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -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 |