Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
No take_bytes() in 3.13
  • Loading branch information
colesbury committed Dec 3, 2025
commit 928bac69f10ec94535026aa24e431ead3eb274f8
2 changes: 1 addition & 1 deletion Lib/test/test_pty.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def test_spawn_doesnt_hang(self):

(pid, status) = os.waitpid(pid, 0)
self.assertEqual(status, 0)
self.assertEqual(buf.take_bytes(), b"hi there\r\n")
self.assertEqual(bytes(buf), b"hi there\r\n")
finally:
os.close(fd)

Expand Down
Loading