From: Martin Panter Date: Thu, 31 Mar 2016 21:05:31 +0000 (+0000) Subject: Issue #22854: Fix logic for skipping test X-Git-Tag: v3.6.0a1~287^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ee147ffbb944646843a7310da7139cbfb985ce0;p=thirdparty%2FPython%2Fcpython.git Issue #22854: Fix logic for skipping test --- diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index f3b33f238087..a7bb95b243d4 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