We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f8fb7f commit 9519208Copy full SHA for 9519208
Lib/test/test_pyrepl/test_eventqueue.py
@@ -161,8 +161,8 @@ def _push(keys):
161
162
self.assertIsInstance("ñ", str)
163
164
- # we expect that no part of the multibyte string will remain in the
165
- # internal buffer after an encode/decode error
+ # If an exception happens during push, the existing events must be
+ # preserved and we can continue to push.
166
_push(b"b")
167
with self.assertRaises(AssertionError):
168
_push("ñ")
0 commit comments