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

Method setup

Lib/test/test_pathlib/support/zip_path.py:31–32  ·  view source on GitHub ↗
(self, local_suffix="")

Source from the content-addressed store, hash-verified

29 self.path_cls = path_cls
30
31 def setup(self, local_suffix=""):
32 return self.path_cls(zip_file=zipfile.ZipFile(io.BytesIO(), "w"))
33
34 def teardown(self, root):
35 root.zip_file.close()

Callers 3

setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls

no outgoing calls

Tested by 3

setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36