cpython (3.5): Issue #22854: Fix logic for skipping test
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
https://hg.python.org/cpython/rev/b3c79e0ba477 changeset: 100816:b3c79e0ba477 branch: 3.5 parent: 100813:8640154d8d7c user: Martin Panter <vadmium+py@gmail.com> date: Thu Mar 31 21:05:31 2016 +0000 summary: Issue #22854: Fix logic for skipping test files: 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 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -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 -- Repository URL: https://hg.python.org/cpython
participants (1)
-
martin.panter