[Python-checkins] cpython (3.5): Issue #22854: Fix logic for skipping test
martin.panter
python-checkins at python.org
Thu Mar 31 17:24:10 EDT 2016
https://hg.python.org/cpython/rev/b3c79e0ba477
changeset: 100816:b3c79e0ba477
branch: 3.5
parent: 100813:8640154d8d7c
user: Martin Panter <vadmium+py at 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
More information about the Python-checkins
mailing list