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

Method test_isalnum

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

Source from the content-addressed store, hash-verified

759 or category == 'Zs'))
760
761 def test_isalnum(self):
762 super().test_isalnum()
763 for ch in ['\U00010401', '\U00010427', '\U00010429', '\U0001044E',
764 '\U0001D7F6', '\U00011066', '\U000104A0', '\U0001F107']:
765 self.assertTrue(ch.isalnum(), '{!a} is alnum.'.format(ch))
766
767 def test_isalpha(self):
768 super().test_isalpha()

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected