@@ -546,34 +546,6 @@ def test_issue8941(self):
546546 self .assertEqual ('\U00010000 ' * 1024 ,
547547 codecs .utf_32_decode (encoded_be )[0 ])
548548
549- def test_bug1098990_a (self ):
550- return super ().test_bug1098990_a ()
551-
552- def test_bug1098990_b (self ):
553- return super ().test_bug1098990_b ()
554-
555- def test_bug1175396 (self ):
556- return super ().test_bug1175396 ()
557-
558- def test_incremental_surrogatepass (self ):
559- return super ().test_incremental_surrogatepass ()
560-
561- def test_mixed_readline_and_read (self ):
562- return super ().test_mixed_readline_and_read ()
563-
564- def test_readline (self ):
565- return super ().test_readline ()
566-
567- def test_readlinequeue (self ):
568- return super ().test_readlinequeue ()
569-
570-
571-
572-
573-
574-
575-
576-
577549
578550class UTF32LETest (ReadTest , unittest .TestCase ):
579551 encoding = "utf-32-le"
@@ -621,13 +593,6 @@ def test_issue8941(self):
621593 codecs .utf_32_le_decode (encoded )[0 ])
622594
623595
624-
625-
626-
627-
628-
629-
630-
631596class UTF32BETest (ReadTest , unittest .TestCase ):
632597 encoding = "utf-32-be"
633598 ill_formed_sequence = b"\x00 \x00 \xdc \x80 "
@@ -674,13 +639,6 @@ def test_issue8941(self):
674639 codecs .utf_32_be_decode (encoded )[0 ])
675640
676641
677-
678-
679-
680-
681-
682-
683-
684642class UTF16Test (ReadTest , unittest .TestCase ):
685643 encoding = "utf-16"
686644 if sys .byteorder == 'little' :
@@ -779,10 +737,6 @@ def test_invalid_modes(self):
779737 self .assertIn ("can't have text and binary mode at once" ,
780738 str (cm .exception ))
781739
782- def test_incremental_surrogatepass (self ):
783- return super ().test_incremental_surrogatepass ()
784-
785-
786740
787741class UTF16LETest (ReadTest , unittest .TestCase ):
788742 encoding = "utf-16-le"
@@ -828,10 +782,6 @@ def test_nonbmp(self):
828782 self .assertEqual (b'\x00 \xd8 \x03 \xde ' .decode (self .encoding ),
829783 "\U00010203 " )
830784
831- def test_incremental_surrogatepass (self ):
832- return super ().test_incremental_surrogatepass ()
833-
834-
835785class UTF16BETest (ReadTest , unittest .TestCase ):
836786 encoding = "utf-16-be"
837787 ill_formed_sequence = b"\xdc \x80 "
@@ -876,10 +826,6 @@ def test_nonbmp(self):
876826 self .assertEqual (b'\xd8 \x00 \xde \x03 ' .decode (self .encoding ),
877827 "\U00010203 " )
878828
879- def test_incremental_surrogatepass (self ):
880- return super ().test_incremental_surrogatepass ()
881-
882-
883829class UTF8Test (ReadTest , unittest .TestCase ):
884830 encoding = "utf-8"
885831 ill_formed_sequence = b"\xed \xb2 \x80 "
@@ -1107,15 +1053,6 @@ def test_lone_surrogates(self):
11071053 with self .subTest (raw = raw ):
11081054 self .assertEqual (raw .decode ('utf-7' , 'replace' ), expected )
11091055
1110- def test_readline (self ):
1111- return super ().test_readline ()
1112-
1113- def test_incremental_surrogatepass (self ):
1114- return super ().test_incremental_surrogatepass ()
1115-
1116-
1117-
1118-
11191056
11201057class UTF16ExTest (unittest .TestCase ):
11211058
@@ -2843,11 +2780,6 @@ def test_partial(self):
28432780 def test_incremental_surrogatepass (self ):
28442781 return super ().test_incremental_surrogatepass ()
28452782
2846- def test_readline (self ):
2847- return super ().test_readline ()
2848-
2849-
2850-
28512783class RawUnicodeEscapeTest (ReadTest , unittest .TestCase ):
28522784 encoding = "raw-unicode-escape"
28532785
@@ -2930,14 +2862,6 @@ def test_partial(self):
29302862 ]
29312863 )
29322864
2933- def test_incremental_surrogatepass (self ):
2934- return super ().test_incremental_surrogatepass ()
2935-
2936- def test_readline (self ):
2937- return super ().test_readline ()
2938-
2939-
2940-
29412865
29422866class EscapeEncodeTest (unittest .TestCase ):
29432867
@@ -3548,7 +3472,7 @@ def test_cp20106(self):
35483472 (b'(\xbf )' , 'surrogatepass' , None ),
35493473 ))
35503474
3551- @unittest .expectedFailure # TODO: RUSTPYTHON # TODO: RUSTPYTHON
3475+ @unittest .expectedFailure # TODO: RUSTPYTHON; # TODO: RUSTPYTHON
35523476 def test_cp_utf7 (self ):
35533477 cp = 65000
35543478 self .check_encode (cp , (
0 commit comments