From 3ee147ffbb944646843a7310da7139cbfb985ce0 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Thu, 31 Mar 2016 21:05:31 +0000 Subject: Issue #22854: Fix logic for skipping test --- Lib/test/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12