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

Method test_plural_wrong_context_forms

Lib/test/test_gettext.py:410–415  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

408 '%d file deleted', '%d files deleted')
409
410 def test_plural_wrong_context_forms(self):
411 self._test_plural_forms(
412 partial(self.npgettext, 'Unknown context'),
413 partial(self.pgettext, 'Unknown context'),
414 'There is %s file', 'There are %s files',
415 'There is %s file', 'There are %s files')
416
417
418class GNUTranslationsPluralFormsTestCase(PluralFormsTests, GettextBaseTest):

Callers

nothing calls this directly

Calls 2

_test_plural_formsMethod · 0.95
partialClass · 0.90

Tested by

no test coverage detected