Skip to content

Commit a16651a

Browse files
committed
No take_bytes() in 3.14
1 parent 979d5a3 commit a16651a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_pty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def test_spawn_doesnt_hang(self):
314314

315315
(pid, status) = os.waitpid(pid, 0)
316316
self.assertEqual(status, 0)
317-
self.assertEqual(buf.take_bytes(), b"hi there\r\n")
317+
self.assertEqual(bytes(buf), b"hi there\r\n")
318318
finally:
319319
os.close(fd)
320320

0 commit comments

Comments
 (0)