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

Method make_zip_script

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

Source from the content-addressed store, hash-verified

7069 return pyc_file
7070
7071 def make_zip_script(self, script_name, name_in_zip=None):
7072 zip_name, _ = script_helper.make_zip_script(self.dirname, 'test_zip',
7073 script_name, name_in_zip)
7074 return zip_name
7075
7076 def check_usage(self, expected, *args, **kwargs):
7077 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