Skip to content

Commit 9519208

Browse files
Update comments in the test
Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
1 parent 7f8fb7f commit 9519208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_pyrepl/test_eventqueue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ def _push(keys):
161161

162162
self.assertIsInstance("ñ", str)
163163

164-
# we expect that no part of the multibyte string will remain in the
165-
# internal buffer after an encode/decode error
164+
# If an exception happens during push, the existing events must be
165+
# preserved and we can continue to push.
166166
_push(b"b")
167167
with self.assertRaises(AssertionError):
168168
_push("ñ")

0 commit comments

Comments
 (0)