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

Method test_locale_alias

Lib/test/test_locale.py:378–381  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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():
380 with self.subTest(locale=(localename, alias)):
381 self.check(localename, alias)
382
383 def test_empty(self):
384 self.check('', '')

Callers

nothing calls this directly

Calls 3

checkMethod · 0.95
itemsMethod · 0.45
subTestMethod · 0.45

Tested by

no test coverage detected