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

Method setUp

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

Source from the content-addressed store, hash-verified

729
730class WeirdMetadataTest(GettextBaseTest):
731 def setUp(self):
732 GettextBaseTest.setUp(self)
733 with open(MMOFILE, 'rb') as fp:
734 try:
735 self.t = gettext.GNUTranslations(fp)
736 except:
737 self.tearDown()
738 raise
739
740 def test_weird_metadata(self):
741 info = self.t.info()

Callers

nothing calls this directly

Calls 3

openFunction · 0.50
setUpMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected