Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 047f3b7 commit c0aab1dCopy full SHA for c0aab1d
1 file changed
Lib/test/test_io.py
@@ -425,7 +425,12 @@ class UnseekableWriter(self.MockUnseekableIO):
425
writable = "w" in abilities
426
self.assertEqual(obj.writable(), writable)
427
seekable = "s" in abilities
428
- self.assertEqual(obj.seekable(), seekable)
+
429
+ # Detection of pipes being non-seekable does not seem to work
430
+ # on Windows
431
+ if not sys.platform.startswith("win") or test not in (
432
+ pipe_reader, pipe_writer):
433
+ self.assertEqual(obj.seekable(), seekable)
434
435
if isinstance(obj, self.TextIOBase):
436
data = "3"
0 commit comments