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

Method test_test_command_verbose

Lib/test/test_tarfile.py:2870–2875  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2868 self.assertEqual(out, b'')
2869
2870 def test_test_command_verbose(self):
2871 for tar_name in testtarnames:
2872 for opt in '-v', '--verbose':
2873 out = self.tarfilecmd(opt, '-t', tar_name,
2874 PYTHONIOENCODING='utf-8')
2875 self.assertIn(b'is a tar archive.\n', out)
2876
2877 def test_test_command_invalid_file(self):
2878 zipname = support.findfile('zipdir.zip', subdir='archivetestdata')

Callers

nothing calls this directly

Calls 2

tarfilecmdMethod · 0.95
assertInMethod · 0.80

Tested by

no test coverage detected