MCPcopy Index your code
hub / github.com/RustPython/RustPython / _make_test_zip_pkg

Function _make_test_zip_pkg

Lib/test/test_cmd_line_script.py:85–90  ·  view source on GitHub ↗
(zip_dir, zip_basename, pkg_name, script_basename,
                       source=test_source, depth=1)

Source from the content-addressed store, hash-verified

83 return to_return
84
85def _make_test_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename,
86 source=test_source, depth=1):
87 to_return = make_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename,
88 source, depth)
89 importlib.invalidate_caches()
90 return to_return
91
92class CmdLineTest(unittest.TestCase):
93 def _check_output(self, script_name, exit_code, data,

Calls 2

make_zip_pkgFunction · 0.90
invalidate_cachesMethod · 0.45

Tested by

no test coverage detected