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 334e2bf commit fd8c6faCopy full SHA for fd8c6fa
graalpython/com.oracle.graal.python.test/src/tests/test_codecs.py
@@ -877,7 +877,7 @@ def test_encode(self):
877
878
class UTF32Test(unittest.TestCase):
879
def test_utf32_surrogate_error(self):
880
- with self.assertRaisesRegex(UnicodeDecodeError, "'utf_32' codec can't decode bytes in position 4-7"):
+ with self.assertRaisesRegex(UnicodeDecodeError, "codec can't decode bytes in position 4-7"):
881
b'a\x00\x00\x00\x00\xd8\x00\x00z\x00\x00\x00'.decode('utf-32')
882
883
0 commit comments