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

Method make_zip_script

Lib/test/test_argparse.py:7203–7206  ·  view source on GitHub ↗
(self, script_name, name_in_zip=None)

Source from the content-addressed store, hash-verified

7201 return pyc_file
7202
7203 def make_zip_script(self, script_name, name_in_zip=None):
7204 zip_name, _ = script_helper.make_zip_script(self.dirname, 'test_zip',
7205 script_name, name_in_zip)
7206 return zip_name
7207
7208 def check_usage(self, expected, *args, **kwargs):
7209 res = script_helper.assert_python_ok('-Xutf8', *args, '-h', **kwargs)

Callers 2

test_zipfileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected