changeset: 100816:b3c79e0ba477 branch: 3.5 parent: 100813:8640154d8d7c user: Martin Panter date: Thu Mar 31 21:05:31 2016 +0000 files: Lib/test/test_io.py description: Issue #22854: Fix logic for skipping test diff -r 8640154d8d7c -r b3c79e0ba477 Lib/test/test_io.py --- a/Lib/test/test_io.py Thu Mar 31 15:30:54 2016 +0300 +++ b/Lib/test/test_io.py Thu Mar 31 21:05:31 2016 +0000 @@ -449,7 +449,7 @@ 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