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

Method test_cli_verbose

Lib/test/test_clinic.py:3117–3123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3115 self.assertNotIn("file4.c", out)
3116
3117 def test_cli_verbose(self):
3118 with os_helper.temp_dir() as tmp_dir:
3119 fn = os.path.join(tmp_dir, "test.c")
3120 with open(fn, "w", encoding="utf-8") as f:
3121 f.write("")
3122 out = self.expect_success("-v", fn)
3123 self.assertEqual(out.strip(), fn)
3124
3125 @support.force_not_colorized
3126 def test_cli_help(self):

Callers

nothing calls this directly

Calls 7

expect_successMethod · 0.95
temp_dirMethod · 0.80
openFunction · 0.50
joinMethod · 0.45
writeMethod · 0.45
assertEqualMethod · 0.45
stripMethod · 0.45

Tested by

no test coverage detected