@@ -276,32 +276,32 @@ def test_east_asian_width_9_0_changes(self):
276276 self .assertEqual (self .db .ucd_3_2_0 .east_asian_width ('\u231a ' ), 'N' )
277277 self .assertEqual (self .db .east_asian_width ('\u231a ' ), 'W' )
278278
279- def test_isidstart (self ):
280- self .assertTrue (self .db .isidstart ('S' ))
281- self .assertTrue (self .db .isidstart ('\u0AD0 ' )) # GUJARATI OM
282- self .assertTrue (self .db .isidstart ('\u0EC6 ' )) # LAO KO LA
283- self .assertTrue (self .db .isidstart ('\u17DC ' )) # KHMER SIGN AVAKRAHASANYA
284- self .assertTrue (self .db .isidstart ('\uA015 ' )) # YI SYLLABLE WU
285- self .assertTrue (self .db .isidstart ('\uFE7B ' )) # ARABIC KASRA MEDIAL FORM
286-
287- self .assertFalse (self .db .isidstart (' ' ))
288- self .assertFalse (self .db .isidstart ('0' ))
289- self .assertRaises (TypeError , self .db .isidstart )
290- self .assertRaises (TypeError , self .db .isidstart , 'xx' )
291-
292- def test_isidcontinue (self ):
293- self .assertTrue (self .db .isidcontinue ('S' ))
294- self .assertTrue (self .db .isidcontinue ('_' ))
295- self .assertTrue (self .db .isidcontinue ('0' ))
296- self .assertTrue (self .db .isidcontinue ('\u00BA ' )) # MASCULINE ORDINAL INDICATOR
297- self .assertTrue (self .db .isidcontinue ('\u0640 ' )) # ARABIC TATWEEL
298- self .assertTrue (self .db .isidcontinue ('\u0710 ' )) # SYRIAC LETTER ALAPH
299- self .assertTrue (self .db .isidcontinue ('\u0B3E ' )) # ORIYA VOWEL SIGN AA
300- self .assertTrue (self .db .isidcontinue ('\u17D7 ' )) # KHMER SIGN LEK TOO
301-
302- self .assertFalse (self .db .isidcontinue (' ' ))
303- self .assertRaises (TypeError , self .db .isidcontinue )
304- self .assertRaises (TypeError , self .db .isidcontinue , 'xx' )
279+ def test_isxidstart (self ):
280+ self .assertTrue (self .db .isxidstart ('S' ))
281+ self .assertTrue (self .db .isxidstart ('\u0AD0 ' )) # GUJARATI OM
282+ self .assertTrue (self .db .isxidstart ('\u0EC6 ' )) # LAO KO LA
283+ self .assertTrue (self .db .isxidstart ('\u17DC ' )) # KHMER SIGN AVAKRAHASANYA
284+ self .assertTrue (self .db .isxidstart ('\uA015 ' )) # YI SYLLABLE WU
285+ self .assertTrue (self .db .isxidstart ('\uFE7B ' )) # ARABIC KASRA MEDIAL FORM
286+
287+ self .assertFalse (self .db .isxidstart (' ' ))
288+ self .assertFalse (self .db .isxidstart ('0' ))
289+ self .assertRaises (TypeError , self .db .isxidstart )
290+ self .assertRaises (TypeError , self .db .isxidstart , 'xx' )
291+
292+ def test_isxidcontinue (self ):
293+ self .assertTrue (self .db .isxidcontinue ('S' ))
294+ self .assertTrue (self .db .isxidcontinue ('_' ))
295+ self .assertTrue (self .db .isxidcontinue ('0' ))
296+ self .assertTrue (self .db .isxidcontinue ('\u00BA ' )) # MASCULINE ORDINAL INDICATOR
297+ self .assertTrue (self .db .isxidcontinue ('\u0640 ' )) # ARABIC TATWEEL
298+ self .assertTrue (self .db .isxidcontinue ('\u0710 ' )) # SYRIAC LETTER ALAPH
299+ self .assertTrue (self .db .isxidcontinue ('\u0B3E ' )) # ORIYA VOWEL SIGN AA
300+ self .assertTrue (self .db .isxidcontinue ('\u17D7 ' )) # KHMER SIGN LEK TOO
301+
302+ self .assertFalse (self .db .isxidcontinue (' ' ))
303+ self .assertRaises (TypeError , self .db .isxidcontinue )
304+ self .assertRaises (TypeError , self .db .isxidcontinue , 'xx' )
305305
306306class UnicodeMiscTest (UnicodeDatabaseTest ):
307307
0 commit comments