@@ -327,6 +327,8 @@ def test_upper(self):
327327 self .checkequal ('HELLO' , 'HELLO' , 'upper' )
328328 self .checkraises (TypeError , 'hello' , 'upper' , 42 )
329329
330+ # TODO: RUSTPYTHON
331+ @unittest .expectedFailure
330332 def test_expandtabs (self ):
331333 self .checkequal ('abc\r ab def\n g hi' , 'abc\r ab\t def\n g\t hi' ,
332334 'expandtabs' )
@@ -690,6 +692,8 @@ def test_capitalize(self):
690692
691693 self .checkraises (TypeError , 'hello' , 'capitalize' , 42 )
692694
695+ # TODO: RUSTPYTHON
696+ @unittest .expectedFailure
693697 def test_additional_split (self ):
694698 self .checkequal (['this' , 'is' , 'the' , 'split' , 'function' ],
695699 'this is the split function' , 'split' )
@@ -726,6 +730,8 @@ def test_additional_split(self):
726730 self .checkequal (['arf' , 'barf' ], b , 'split' , None )
727731 self .checkequal (['arf' , 'barf' ], b , 'split' , None , 2 )
728732
733+ # TODO: RUSTPYTHON
734+ @unittest .expectedFailure
729735 def test_additional_rsplit (self ):
730736 self .checkequal (['this' , 'is' , 'the' , 'rsplit' , 'function' ],
731737 'this is the rsplit function' , 'rsplit' )
@@ -827,6 +833,8 @@ def test_swapcase(self):
827833
828834 self .checkraises (TypeError , 'hello' , 'swapcase' , 42 )
829835
836+ # TODO: RUSTPYTHON
837+ @unittest .expectedFailure
830838 def test_zfill (self ):
831839 self .checkequal ('123' , '123' , 'zfill' , 2 )
832840 self .checkequal ('123' , '123' , 'zfill' , 3 )
@@ -942,6 +950,8 @@ def test_title(self):
942950 self .checkequal ('Getint' , "getInt" , 'title' )
943951 self .checkraises (TypeError , 'hello' , 'title' , 42 )
944952
953+ # TODO: RUSTPYTHON
954+ @unittest .expectedFailure
945955 def test_splitlines (self ):
946956 self .checkequal (['abc' , 'def' , '' , 'ghi' ], "abc\n def\n \r ghi" , 'splitlines' )
947957 self .checkequal (['abc' , 'def' , '' , 'ghi' ], "abc\n def\n \r \n ghi" , 'splitlines' )
@@ -974,6 +984,8 @@ def test_hash(self):
974984 hash (b )
975985 self .assertEqual (hash (a ), hash (b ))
976986
987+ # TODO: RUSTPYTHON
988+ @unittest .expectedFailure
977989 def test_capitalize_nonascii (self ):
978990 # check that titlecased chars are lowered correctly
979991 # \u1ffc is the titlecased char
@@ -1354,6 +1366,8 @@ def test_none_arguments(self):
13541366 self .checkequal (True , s , 'startswith' , 'h' , None , - 2 )
13551367 self .checkequal (False , s , 'startswith' , 'x' , None , None )
13561368
1369+ # TODO: RUSTPYTHON
1370+ @unittest .expectedFailure
13571371 def test_find_etc_raise_correct_error_messages (self ):
13581372 # issue 11828
13591373 s = 'hello'
@@ -1380,6 +1394,8 @@ def test_find_etc_raise_correct_error_messages(self):
13801394class MixinStrUnicodeTest :
13811395 # Additional tests that only work with str.
13821396
1397+ # TODO: RUSTPYTHON
1398+ @unittest .expectedFailure
13831399 def test_bug1001011 (self ):
13841400 # Make sure join returns a NEW object for single item sequences
13851401 # involving a subclass.
0 commit comments