Issue #22854: Fix logic for skipping test

This commit is contained in:
Martin Panter 2016-03-31 21:05:31 +00:00
parent e4ba872543
commit 3ee147ffbb
1 changed files with 1 additions and 1 deletions

View File

@ -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