Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ setUpClass
Method
setUpClass
Lib/test/test_tarfile.py:2032–2034 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
2030
2031
@classmethod
2032
def
setUpClass(cls):
2033
with
open(cls.file_path,
"wb"
)
as
fobj:
2034
fobj.write(b
"aaa"
)
2035
2036
@classmethod
2037
def
tearDownClass(cls):
Callers
nothing calls this directly
Calls
2
open
Function · 0.50
write
Method · 0.45
Tested by
no test coverage detected