Skip to content

Commit e654017

Browse files
authored
Apply suggestion from @vstinner
1 parent aa9a179 commit e654017

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/test/test_io/test_textio.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1661,7 +1661,7 @@ def readinto(self, b):
16611661
self.assertEqual(method(), "ab\n")
16621662
with self.assertRaisesRegex(ValueError,
16631663
"underlying buffer has been detached"):
1664-
wrapper.buffer
1664+
getattr(wrapper, 'buffer')
16651665

16661666
def test_reentrant_seek_during_tell(self):
16671667
# gh-153539: reading short of _CHUNK_SIZE leaves residual bytes in the

0 commit comments

Comments
 (0)