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

Method zipfilecmd

Lib/test/test_zipfile/test_core.py:3448–3451  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

3446class CommandLineTest(unittest.TestCase):
3447
3448 def zipfilecmd(self, *args, **kwargs):
3449 rc, out, err = script_helper.assert_python_ok('-m', 'zipfile', *args,
3450 **kwargs)
3451 return out.replace(os.linesep.encode(), b'\n')
3452
3453 def zipfilecmd_failure(self, *args):
3454 return script_helper.assert_python_failure('-m', 'zipfile', *args)

Callers 4

test_test_commandMethod · 0.95
test_list_commandMethod · 0.95
test_create_commandMethod · 0.95
test_extract_commandMethod · 0.95

Calls 3

assert_python_okMethod · 0.80
replaceMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected