@@ -149,8 +149,6 @@ def check_partial(self, input, partialresults):
149149 "" .join (codecs .iterdecode ([bytes ([c ]) for c in encoded ], self .encoding ))
150150 )
151151
152- # TODO: RUSTPYTHON
153- @unittest .expectedFailure
154152 def test_readline (self ):
155153 def getreader (input ):
156154 stream = io .BytesIO (input .encode (self .encoding ))
@@ -463,6 +461,12 @@ class UTF32Test(ReadTest, unittest.TestCase):
463461 b'\x00 \x00 \x00 s\x00 \x00 \x00 p\x00 \x00 \x00 a\x00 \x00 \x00 m'
464462 b'\x00 \x00 \x00 s\x00 \x00 \x00 p\x00 \x00 \x00 a\x00 \x00 \x00 m' )
465463
464+ # TODO: RUSTPYTHON
465+ @unittest .expectedFailure
466+ def test_readline (self ): # TODO: RUSTPYTHON, remove when this passes
467+ super ().test_readline () # TODO: RUSTPYTHON, remove when this passes
468+
469+
466470 # TODO: RUSTPYTHON
467471 @unittest .expectedFailure
468472 def test_only_one_bom (self ):
@@ -593,6 +597,11 @@ class UTF32LETest(ReadTest, unittest.TestCase):
593597 encoding = "utf-32-le"
594598 ill_formed_sequence = b"\x80 \xdc \x00 \x00 "
595599
600+ # TODO: RUSTPYTHON
601+ @unittest .expectedFailure
602+ def test_readline (self ): # TODO: RUSTPYTHON, remove when this passes
603+ super ().test_readline () # TODO: RUSTPYTHON, remove when this passes
604+
596605 # TODO: RUSTPYTHON
597606 @unittest .expectedFailure
598607 def test_partial (self ):
@@ -677,6 +686,11 @@ class UTF32BETest(ReadTest, unittest.TestCase):
677686 encoding = "utf-32-be"
678687 ill_formed_sequence = b"\x00 \x00 \xdc \x80 "
679688
689+ # TODO: RUSTPYTHON
690+ @unittest .expectedFailure
691+ def test_readline (self ): # TODO: RUSTPYTHON, remove when this passes
692+ super ().test_readline () # TODO: RUSTPYTHON, remove when this passes
693+
680694 # TODO: RUSTPYTHON
681695 @unittest .expectedFailure
682696 def test_partial (self ):
@@ -1048,6 +1062,11 @@ def test_incremental_errors(self):
10481062class UTF7Test (ReadTest , unittest .TestCase ):
10491063 encoding = "utf-7"
10501064
1065+ # TODO: RUSTPYTHON
1066+ @unittest .expectedFailure
1067+ def test_readline (self ): # TODO: RUSTPYTHON, remove when this passes
1068+ super ().test_readline () # TODO: RUSTPYTHON, remove when this passes
1069+
10511070 # TODO: RUSTPYTHON
10521071 @unittest .expectedFailure
10531072 def test_ascii (self ):
@@ -2546,6 +2565,11 @@ class UnicodeEscapeTest(ReadTest, unittest.TestCase):
25462565 def test_incremental_surrogatepass (self ): # TODO: RUSTPYTHON, remove when this passes
25472566 super ().test_incremental_surrogatepass () # TODO: RUSTPYTHON, remove when this passes
25482567
2568+ # TODO: RUSTPYTHON
2569+ @unittest .expectedFailure
2570+ def test_readline (self ): # TODO: RUSTPYTHON, remove when this passes
2571+ super ().test_readline () # TODO: RUSTPYTHON, remove when this passes
2572+
25492573 def test_empty (self ):
25502574 self .assertEqual (codecs .unicode_escape_encode ("" ), (b"" , 0 ))
25512575 self .assertEqual (codecs .unicode_escape_decode (b"" ), ("" , 0 ))
@@ -2683,6 +2707,11 @@ class RawUnicodeEscapeTest(ReadTest, unittest.TestCase):
26832707 def test_incremental_surrogatepass (self ): # TODO: RUSTPYTHON, remove when this passes
26842708 super ().test_incremental_surrogatepass () # TODO: RUSTPYTHON, remove when this passes
26852709
2710+ # TODO: RUSTPYTHON
2711+ @unittest .expectedFailure
2712+ def test_readline (self ): # TODO: RUSTPYTHON, remove when this passes
2713+ super ().test_readline () # TODO: RUSTPYTHON, remove when this passes
2714+
26862715 def test_empty (self ):
26872716 self .assertEqual (codecs .raw_unicode_escape_encode ("" ), (b"" , 0 ))
26882717 self .assertEqual (codecs .raw_unicode_escape_decode (b"" ), ("" , 0 ))
0 commit comments