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

Method test_isalnum

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

Source from the content-addressed store, hash-verified

752 or category == 'Zs'))
753
754 def test_isalnum(self):
755 super().test_isalnum()
756 for ch in ['\U00010401', '\U00010427', '\U00010429', '\U0001044E',
757 '\U0001D7F6', '\U00011066', '\U000104A0', '\U0001F107']:
758 self.assertTrue(ch.isalnum(), '{!a} is alnum.'.format(ch))
759
760 def test_isalpha(self):
761 super().test_isalpha()

Callers

nothing calls this directly

Calls 4

superClass · 0.85
assertTrueMethod · 0.80
isalnumMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected