MCPcopy Index your code
hub / github.com/python/cpython / teardown

Method teardown

Lib/test/test_pathlib/support/zip_path.py:34–35  ·  view source on GitHub ↗
(self, root)

Source from the content-addressed store, hash-verified

32 return self.path_cls(zip_file=zipfile.ZipFile(io.BytesIO(), "w"))
33
34 def teardown(self, root):
35 root.zip_file.close()
36
37 def create_file(self, path, data=b''):
38 path.zip_file.writestr(vfspath(path), data)

Callers 3

tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by 3

tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36