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 538832a commit 4a02a4aCopy full SHA for 4a02a4a
1 file changed
Lib/test/test_source_encoding.py
@@ -547,7 +547,7 @@ def test_coding_spec_unknown_encoding(self):
547
def test_coding_spec_decode_error(self):
548
src = (b'# coding: shift-jis\n'
549
b'print("\xc4\x85")\n')
550
- self.check_script_error(src, br"'shift_jis' codec can't decode byte 0x85")
+ self.check_script_error(src, br"'shift_jis' codec can't decode byte")
551
552
553
if __name__ == "__main__":
0 commit comments