Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ setUp
Method
setUp
Lib/test/test_tarfile.py:294–295 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
292
293
# Override setUp to use default encoding (UTF-8)
294
def
setUp(self):
295
self.tar = tarfile.open(self.tarname, mode=self.mode)
296
297
def
test_list(self):
298
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