Skip to content

Commit cd7bf6b

Browse files
committed
Mark failing tests
1 parent 05f3a63 commit cd7bf6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_codeccallbacks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,7 @@ def test_bug828737(self):
11351135
text = 'abc<def>ghi'*n
11361136
text.translate(charmap)
11371137

1138+
@unittest.expectedFailure # TODO: RUSTPYTHON; IndexError: index out of range
11381139
def test_mutating_decode_handler(self):
11391140
baddata = [
11401141
("ascii", b"\xff"),
@@ -1170,6 +1171,7 @@ def mutating(exc):
11701171
for (encoding, data) in baddata:
11711172
self.assertEqual(data.decode(encoding, "test.mutating"), "\u4242")
11721173

1174+
@unittest.skip("TODO: RUSTPYTHON, _pycodecs doesn't support mutating decode handlers")
11731175
def test_mutating_decode_handler_unicode_escape(self):
11741176
decode = codecs.unicode_escape_decode
11751177
def mutating(exc):

0 commit comments

Comments
 (0)