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

Method setUp

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

Source from the content-addressed store, hash-verified

417
418class GNUTranslationsPluralFormsTestCase(PluralFormsTests, GettextBaseTest):
419 def setUp(self):
420 GettextBaseTest.setUp(self)
421 # Set up the bindings
422 gettext.bindtextdomain('gettext', os.curdir)
423 gettext.textdomain('gettext')
424
425 self.gettext = gettext.gettext
426 self.ngettext = gettext.ngettext
427 self.pgettext = gettext.pgettext
428 self.npgettext = gettext.npgettext
429
430
431class GNUTranslationsWithDomainPluralFormsTestCase(PluralFormsTests, GettextBaseTest):

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected