MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_isalpha

Method test_isalpha

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

Source from the content-addressed store, hash-verified

758 self.assertTrue(ch.isalnum(), '{!a} is alnum.'.format(ch))
759
760 def test_isalpha(self):
761 super().test_isalpha()
762 self.checkequalnofix(True, '\u1FFc', 'isalpha')
763 # non-BMP, cased
764 self.assertTrue('\U00010401'.isalpha())
765 self.assertTrue('\U00010427'.isalpha())
766 self.assertTrue('\U00010429'.isalpha())
767 self.assertTrue('\U0001044E'.isalpha())
768 # non-BMP, non-cased
769 self.assertFalse('\U0001F40D'.isalpha())
770 self.assertFalse('\U0001F46F'.isalpha())
771
772 def test_isascii(self):
773 super().test_isascii()

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected