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:292–293 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
290
291
# Override setUp to use default encoding (UTF-8)
292
def
setUp(self):
293
self.tar = tarfile.open(self.tarname, mode=self.mode)
294
295
def
test_list(self):
296
tio = io.TextIOWrapper(io.BytesIO(),
'ascii'
, newline=
'\n'
)
Callers
nothing calls this directly
Calls
1
open
Method · 0.45
Tested by
no test coverage detected