Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ teardown
Method
teardown
Lib/test/test_pathlib/support/zip_path.py:33–34 ·
view source on GitHub ↗
(self, root)
Source
from the content-addressed store, hash-verified
31
return
self.path_cls(zip_file=zipfile.ZipFile(io.BytesIO(),
"w"
))
32
33
def
teardown(self, root):
34
root.zip_file.close()
35
36
def
create_file(self, path, data=b
''
):
37
path.zip_file.writestr(str(path), data)
Callers
3
tearDown
Method · 0.45
tearDown
Method · 0.45
tearDown
Method · 0.45
Calls
1
close
Method · 0.45
Tested by
3
tearDown
Method · 0.36
tearDown
Method · 0.36
tearDown
Method · 0.36