Skip to content

Commit 0097f2a

Browse files
committed
Disable tests that are known to crash.
1 parent 2dbe09a commit 0097f2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_capi/test_codecs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,9 @@ def test_codec_lookup_error(self):
722722

723723
def test_codec_error_handlers(self):
724724
exceptions = [
725-
UnicodeEncodeError('bad', '', 0, 1, 'reason'),
725+
# A UnicodeError with an empty message currently crashes:
726+
# See: https://github.com/python/cpython/issues/123378
727+
# UnicodeEncodeError('bad', '', 0, 1, 'reason'),
726728
UnicodeEncodeError('bad', 'x', 0, 1, 'reason'),
727729
UnicodeEncodeError('bad', 'xyz123', 0, 1, 'reason'),
728730
UnicodeEncodeError('bad', 'xyz123', 1, 4, 'reason'),

0 commit comments

Comments
 (0)