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

Method setUp

Lib/test/test_tarfile.py:121–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 # Only needs to change how the tarfile is opened to set
120 # stream mode
121 def setUp(self):
122 self.tar = tarfile.open(self.tarname, mode=self.mode,
123 encoding="iso8859-1",
124 stream=True)
125
126class UstarReadTest(ReadTest, unittest.TestCase):
127

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected