Skip to content

Commit 9fda1d1

Browse files
committed
Remove doubled test
1 parent 7d0ea60 commit 9fda1d1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Lib/test/test_source_encoding.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,6 @@ def test_coding_spec_decode_error(self):
549549
b'print("\xc4\x85")\n')
550550
self.check_script_error(src, br"'shift_jis' codec can't decode byte")
551551

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-
557552
def test_coding_spec_non_text_encoding(self):
558553
src = (b'# coding: hex_codec\n'
559554
b'print("Test")\n')

0 commit comments

Comments
 (0)