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

Method test_ascii_letters

Lib/test/test_ucn.py:70–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 )
69
70 def test_ascii_letters(self):
71 for char in "".join(map(chr, range(ord("a"), ord("z")))):
72 name = "LATIN SMALL LETTER %s" % char.upper()
73 code = unicodedata.lookup(name)
74 self.assertEqual(unicodedata.name(code), name)
75
76 def test_hangul_syllables(self):
77 self.checkletter("HANGUL SYLLABLE GA", "\uac00")

Callers

nothing calls this directly

Calls 6

ordFunction · 0.85
joinMethod · 0.45
upperMethod · 0.45
lookupMethod · 0.45
assertEqualMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected