@@ -688,25 +688,6 @@ def test_capitalize(self):
688688 self .checkequal ('Aaaa' , 'aaaa' , 'capitalize' )
689689 self .checkequal ('Aaaa' , 'AaAa' , 'capitalize' )
690690
691- # check that titlecased chars are lowered correctly
692- # \u1ffc is the titlecased char
693- if sys .implementation .name != "ironpython" : # https://github.com/IronLanguages/ironpython3/issues/839
694- self .checkequal ('\u03a9 \u0399 \u1ff3 \u1ff3 \u1ff3 ' ,
695- '\u1ff3 \u1ff3 \u1ffc \u1ffc ' , 'capitalize' )
696- # check with cased non-letter chars
697- self .checkequal ('\u24c5 \u24e8 \u24e3 \u24d7 \u24de \u24dd ' ,
698- '\u24c5 \u24ce \u24c9 \u24bd \u24c4 \u24c3 ' , 'capitalize' )
699- self .checkequal ('\u24c5 \u24e8 \u24e3 \u24d7 \u24de \u24dd ' ,
700- '\u24df \u24e8 \u24e3 \u24d7 \u24de \u24dd ' , 'capitalize' )
701- self .checkequal ('\u2160 \u2171 \u2172 ' ,
702- '\u2160 \u2161 \u2162 ' , 'capitalize' )
703- self .checkequal ('\u2160 \u2171 \u2172 ' ,
704- '\u2170 \u2171 \u2172 ' , 'capitalize' )
705- # check with Ll chars with no upper - nothing changes here
706- if sys .implementation .name != "ironpython" : # https://github.com/IronLanguages/ironpython3/issues/839
707- self .checkequal ('\u019b \u1d00 \u1d86 \u0221 \u1fb7 ' ,
708- '\u019b \u1d00 \u1d86 \u0221 \u1fb7 ' , 'capitalize' )
709-
710691 self .checkraises (TypeError , 'hello' , 'capitalize' , 42 )
711692
712693 def test_additional_split (self ):
@@ -994,7 +975,8 @@ def test_capitalize_nonascii(self):
994975 self .checkequal ('\u2160 \u2171 \u2172 ' ,
995976 '\u2170 \u2171 \u2172 ' , 'capitalize' )
996977 # check with Ll chars with no upper - nothing changes here
997- self .checkequal ('\u019b \u1d00 \u1d86 \u0221 \u1fb7 ' ,
978+ if sys .implementation .name != "ironpython" : # https://github.com/IronLanguages/ironpython3/issues/839
979+ self .checkequal ('\u019b \u1d00 \u1d86 \u0221 \u1fb7 ' ,
998980 '\u019b \u1d00 \u1d86 \u0221 \u1fb7 ' , 'capitalize' )
999981
1000982
0 commit comments