Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setUp
Method
setUp
Lib/test/test_tarfile.py:110–112 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
108
prefix =
"r:"
109
110
def
setUp(self):
111
self.tar = tarfile.open(self.tarname, mode=self.mode,
112
encoding=
"iso8859-1"
)
113
114
def
tearDown(self):
115
self.tar.close()
Callers
nothing calls this directly
Calls
1
open
Method · 0.45
Tested by
no test coverage detected