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

Method test_lookup_issue1813

Lib/test/test_codecs.py:1834–1838  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1832
1833 @support.run_with_locale('LC_CTYPE', 'tr_TR')
1834 def test_lookup_issue1813(self):
1835 # Issue #1813: under Turkish locales, lookup of some codecs failed
1836 # because 'I' is lowercased as "ı" (dotless i)
1837 c = codecs.lookup('ASCII')
1838 self.assertEqual(c.name, 'ascii')
1839
1840 def test_all(self):
1841 api = (

Callers

nothing calls this directly

Calls 2

lookupMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected