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
Next Next commit
Add comment
  • Loading branch information
sergey-miryanov committed Apr 28, 2025
commit 7f8fb7f909c25b2b8e188b3c02afff0275977f76
2 changes: 2 additions & 0 deletions Lib/test/test_pyrepl/test_eventqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ def _push(keys):

self.assertIsInstance("ñ", str)

# we expect that no part of the multibyte string will remain in the
# internal buffer after an encode/decode error
_push(b"b")
with self.assertRaises(AssertionError):
_push("ñ")
Expand Down
Loading