Skip to content

Commit fbad9a2

Browse files
Update Lib/test/test_io/test_bufferedio.py
Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent 544a44d commit fbad9a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_io/test_bufferedio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ def test_read1_error_does_not_cause_reentrant_failure(self):
638638
with self.assertRaises(MemoryError):
639639
bufio.read1(huge)
640640

641+
# Used to crash before gh-143689:
641642
self.assertEqual(bufio.read1(1), b"h")
642643

643644

0 commit comments

Comments
 (0)