MCPcopy Index your code
hub / github.com/python/cpython / test_isalpha

Method test_isalpha

Lib/test/test_str.py:767–777  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

765 self.assertTrue(ch.isalnum(), '{!a} is alnum.'.format(ch))
766
767 def test_isalpha(self):
768 super().test_isalpha()
769 self.checkequalnofix(True, '\u1FFc', 'isalpha')
770 # non-BMP, cased
771 self.assertTrue('\U00010401'.isalpha())
772 self.assertTrue('\U00010427'.isalpha())
773 self.assertTrue('\U00010429'.isalpha())
774 self.assertTrue('\U0001044E'.isalpha())
775 # non-BMP, non-cased
776 self.assertFalse('\U0001F40D'.isalpha())
777 self.assertFalse('\U0001F46F'.isalpha())
778
779 def test_isascii(self):
780 super().test_isascii()

Callers

nothing calls this directly

Calls 5

checkequalnofixMethod · 0.95
superClass · 0.85
assertTrueMethod · 0.80
isalphaMethod · 0.80
assertFalseMethod · 0.80

Tested by

no test coverage detected