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

Method setUp

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

Source from the content-addressed store, hash-verified

265
266class GettextTestCase2(GettextBaseTest):
267 def setUp(self):
268 GettextBaseTest.setUp(self)
269 self.localedir = os.curdir
270 # Set up the bindings
271 gettext.bindtextdomain('gettext', self.localedir)
272 gettext.textdomain('gettext')
273 # For convenience
274 self._ = gettext.gettext
275
276 def test_bindtextdomain(self):
277 self.assertEqual(gettext.bindtextdomain('gettext'), self.localedir)

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected