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

Method test_isascii

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

Source from the content-addressed store, hash-verified

777 self.assertFalse('\U0001F46F'.isalpha())
778
779 def test_isascii(self):
780 super().test_isascii()
781 self.assertFalse("\u20ac".isascii())
782 self.assertFalse("\U0010ffff".isascii())
783
784 def test_isdecimal(self):
785 self.checkequalnofix(False, '', 'isdecimal')

Callers

nothing calls this directly

Calls 3

superClass · 0.85
assertFalseMethod · 0.80
isasciiMethod · 0.80

Tested by

no test coverage detected