Skip to content

Commit 6fec029

Browse files
committed
In _io_TextIOWrapper_read_impl skip decoding if bytes are None
1 parent 2aa975a commit 6fec029

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4878,6 +4878,7 @@ def test_interrupted_write_retry_buffered(self):
48784878
def test_interrupted_write_retry_text(self):
48794879
self.check_interrupted_write_retry("x", mode="w", encoding="latin1")
48804880

4881+
@unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()")
48814882
def test_read_non_blocking(self):
48824883
import os
48834884

0 commit comments

Comments
 (0)