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

Method setUp

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

Source from the content-addressed store, hash-verified

430
431class GNUTranslationsWithDomainPluralFormsTestCase(PluralFormsTests, GettextBaseTest):
432 def setUp(self):
433 GettextBaseTest.setUp(self)
434 # Set up the bindings
435 gettext.bindtextdomain('gettext', os.curdir)
436
437 self.gettext = partial(gettext.dgettext, 'gettext')
438 self.ngettext = partial(gettext.dngettext, 'gettext')
439 self.pgettext = partial(gettext.dpgettext, 'gettext')
440 self.npgettext = partial(gettext.dnpgettext, 'gettext')
441
442 def test_plural_forms_wrong_domain(self):
443 self._test_plural_forms(

Callers

nothing calls this directly

Calls 2

partialClass · 0.90
setUpMethod · 0.45

Tested by

no test coverage detected