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

Method test_cli_fail_no_filename

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

Source from the content-addressed store, hash-verified

3209 self.assertIn(msg, err)
3210
3211 def test_cli_fail_no_filename(self):
3212 _, err = self.expect_failure()
3213 self.assertIn("no input files", err)
3214
3215 def test_cli_fail_output_and_multiple_files(self):
3216 _, err = self.expect_failure("-o", "out.c", "input.c", "moreinput.c")

Callers

nothing calls this directly

Calls 2

expect_failureMethod · 0.95
assertInMethod · 0.80

Tested by

no test coverage detected