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 7d0ea60 commit 9fda1d1Copy full SHA for 9fda1d1
1 file changed
Lib/test/test_source_encoding.py
@@ -549,11 +549,6 @@ def test_coding_spec_decode_error(self):
549
b'print("\xc4\x85")\n')
550
self.check_script_error(src, br"'shift_jis' codec can't decode byte")
551
552
- def test_coding_spec_decode_error(self):
553
- src = (b'# coding: shift-jis\n'
554
- b'print("\xc4\x85")\n')
555
- self.check_script_error(src, br"'shift_jis' codec can't decode byte")
556
-
557
def test_coding_spec_non_text_encoding(self):
558
src = (b'# coding: hex_codec\n'
559
b'print("Test")\n')
0 commit comments