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

Method test_isascii

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

Source from the content-addressed store, hash-verified

770 self.assertFalse('\U0001F46F'.isalpha())
771
772 def test_isascii(self):
773 super().test_isascii()
774 self.assertFalse("\u20ac".isascii())
775 self.assertFalse("\U0010ffff".isascii())
776
777 def test_isdecimal(self):
778 self.checkequalnofix(False, '', 'isdecimal')

Callers

nothing calls this directly

Calls 3

superClass · 0.85
assertFalseMethod · 0.80
isasciiMethod · 0.45

Tested by

no test coverage detected