@@ -327,6 +327,8 @@ def test_upper(self):
327
327
self .checkequal ('HELLO' , 'HELLO' , 'upper' )
328
328
self .checkraises (TypeError , 'hello' , 'upper' , 42 )
329
329
330
+ # TODO: RUSTPYTHON
331
+ @unittest .expectedFailure
330
332
def test_expandtabs (self ):
331
333
self .checkequal ('abc\r ab def\n g hi' , 'abc\r ab\t def\n g\t hi' ,
332
334
'expandtabs' )
@@ -690,6 +692,8 @@ def test_capitalize(self):
690
692
691
693
self .checkraises (TypeError , 'hello' , 'capitalize' , 42 )
692
694
695
+ # TODO: RUSTPYTHON
696
+ @unittest .expectedFailure
693
697
def test_additional_split (self ):
694
698
self .checkequal (['this' , 'is' , 'the' , 'split' , 'function' ],
695
699
'this is the split function' , 'split' )
@@ -726,6 +730,8 @@ def test_additional_split(self):
726
730
self .checkequal (['arf' , 'barf' ], b , 'split' , None )
727
731
self .checkequal (['arf' , 'barf' ], b , 'split' , None , 2 )
728
732
733
+ # TODO: RUSTPYTHON
734
+ @unittest .expectedFailure
729
735
def test_additional_rsplit (self ):
730
736
self .checkequal (['this' , 'is' , 'the' , 'rsplit' , 'function' ],
731
737
'this is the rsplit function' , 'rsplit' )
@@ -827,6 +833,8 @@ def test_swapcase(self):
827
833
828
834
self .checkraises (TypeError , 'hello' , 'swapcase' , 42 )
829
835
836
+ # TODO: RUSTPYTHON
837
+ @unittest .expectedFailure
830
838
def test_zfill (self ):
831
839
self .checkequal ('123' , '123' , 'zfill' , 2 )
832
840
self .checkequal ('123' , '123' , 'zfill' , 3 )
@@ -942,6 +950,8 @@ def test_title(self):
942
950
self .checkequal ('Getint' , "getInt" , 'title' )
943
951
self .checkraises (TypeError , 'hello' , 'title' , 42 )
944
952
953
+ # TODO: RUSTPYTHON
954
+ @unittest .expectedFailure
945
955
def test_splitlines (self ):
946
956
self .checkequal (['abc' , 'def' , '' , 'ghi' ], "abc\n def\n \r ghi" , 'splitlines' )
947
957
self .checkequal (['abc' , 'def' , '' , 'ghi' ], "abc\n def\n \r \n ghi" , 'splitlines' )
@@ -974,6 +984,8 @@ def test_hash(self):
974
984
hash (b )
975
985
self .assertEqual (hash (a ), hash (b ))
976
986
987
+ # TODO: RUSTPYTHON
988
+ @unittest .expectedFailure
977
989
def test_capitalize_nonascii (self ):
978
990
# check that titlecased chars are lowered correctly
979
991
# \u1ffc is the titlecased char
@@ -1354,6 +1366,8 @@ def test_none_arguments(self):
1354
1366
self .checkequal (True , s , 'startswith' , 'h' , None , - 2 )
1355
1367
self .checkequal (False , s , 'startswith' , 'x' , None , None )
1356
1368
1369
+ # TODO: RUSTPYTHON
1370
+ @unittest .expectedFailure
1357
1371
def test_find_etc_raise_correct_error_messages (self ):
1358
1372
# issue 11828
1359
1373
s = 'hello'
@@ -1380,6 +1394,8 @@ def test_find_etc_raise_correct_error_messages(self):
1380
1394
class MixinStrUnicodeTest :
1381
1395
# Additional tests that only work with str.
1382
1396
1397
+ # TODO: RUSTPYTHON
1398
+ @unittest .expectedFailure
1383
1399
def test_bug1001011 (self ):
1384
1400
# Make sure join returns a NEW object for single item sequences
1385
1401
# involving a subclass.
0 commit comments