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

Method tarfilecmd

Lib/test/test_tarfile.py:2827–2830  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

2825class CommandLineTest(unittest.TestCase):
2826
2827 def tarfilecmd(self, *args, **kwargs):
2828 rc, out, err = script_helper.assert_python_ok('-m', 'tarfile', *args,
2829 **kwargs)
2830 return out.replace(os.linesep.encode(), b'\n')
2831
2832 def tarfilecmd_failure(self, *args):
2833 return script_helper.assert_python_failure('-m', 'tarfile', *args)

Calls 3

assert_python_okMethod · 0.80
replaceMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected