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

Method check

Lib/test/test_locale.py:375–376  ·  view source on GitHub ↗
(self, localename, expected)

Source from the content-addressed store, hash-verified

373
374class NormalizeTest(unittest.TestCase):
375 def check(self, localename, expected):
376 self.assertEqual(locale.normalize(localename), expected, msg=localename)
377
378 def test_locale_alias(self):
379 for localename, alias in locale.locale_alias.items():

Callers 12

test_locale_aliasMethod · 0.95
test_emptyMethod · 0.95
test_cMethod · 0.95
test_c_utf8Method · 0.95
test_englishMethod · 0.95
test_euro_modifierMethod · 0.95
test_latin_modifierMethod · 0.95
test_euc_encodingMethod · 0.95
test_japaneseMethod · 0.95

Calls 2

assertEqualMethod · 0.45
normalizeMethod · 0.45

Tested by

no test coverage detected