Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fc0318

Browse files
committed
Issue #22854: Merge test fix from 3.5
2 parents 7b1e5a7 + 3ee147f commit 0fc0318

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class UnseekableWriter(self.MockUnseekableIO):
449449
else:
450450
self.assertRaises(OSError, obj.write, data)
451451

452-
if sys.platform.startswith("win") or test in (
452+
if sys.platform.startswith("win") and test in (
453453
pipe_reader, pipe_writer):
454454
# Pipes seem to appear as seekable on Windows
455455
continue

0 commit comments

Comments
 (0)