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

Method setUp

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

Source from the content-addressed store, hash-verified

687
688class UnicodeTranslationsPluralTest(GettextBaseTest):
689 def setUp(self):
690 GettextBaseTest.setUp(self)
691 with open(MOFILE, 'rb') as fp:
692 self.t = gettext.GNUTranslations(fp)
693 self.ngettext = self.t.ngettext
694 self.npgettext = self.t.npgettext
695
696 def test_unicode_msgid(self):
697 unless = self.assertTrue

Callers

nothing calls this directly

Calls 2

openFunction · 0.50
setUpMethod · 0.45

Tested by

no test coverage detected