We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05f3a63 commit cd7bf6bCopy full SHA for cd7bf6b
Lib/test/test_codeccallbacks.py
@@ -1135,6 +1135,7 @@ def test_bug828737(self):
1135
text = 'abc<def>ghi'*n
1136
text.translate(charmap)
1137
1138
+ @unittest.expectedFailure # TODO: RUSTPYTHON; IndexError: index out of range
1139
def test_mutating_decode_handler(self):
1140
baddata = [
1141
("ascii", b"\xff"),
@@ -1170,6 +1171,7 @@ def mutating(exc):
1170
1171
for (encoding, data) in baddata:
1172
self.assertEqual(data.decode(encoding, "test.mutating"), "\u4242")
1173
1174
+ @unittest.skip("TODO: RUSTPYTHON, _pycodecs doesn't support mutating decode handlers")
1175
def test_mutating_decode_handler_unicode_escape(self):
1176
decode = codecs.unicode_escape_decode
1177
def mutating(exc):
0 commit comments