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

Method test_bug_5828

Lib/test/test_unicodedata.py:1157–1166  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1155
1156 @requires_resource('cpu')
1157 def test_bug_5828(self):
1158 self.assertEqual("\u1d79".lower(), "\u1d79")
1159 # Only U+0000 should have U+0000 as its upper/lower/titlecase variant
1160 self.assertEqual(
1161 [
1162 c for c in iterallchars()
1163 if "\x00" in (c.lower(), c.upper(), c.title())
1164 ],
1165 ["\x00"]
1166 )
1167
1168 def test_bug_4971(self):
1169 # LETTER DZ WITH CARON: DZ, Dz, dz

Callers

nothing calls this directly

Calls 5

iterallcharsFunction · 0.85
assertEqualMethod · 0.45
lowerMethod · 0.45
upperMethod · 0.45
titleMethod · 0.45

Tested by

no test coverage detected