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

Method test_quiet_flag

Lib/test/test_tabnanny.py:335–339  ·  view source on GitHub ↗

Should display less when quite mode is on.

(self)

Source from the content-addressed store, hash-verified

333 self.validate_cmd(stderr=stderr, expect_failure=True)
334
335 def test_quiet_flag(self):
336 """Should display less when quite mode is on."""
337 with TemporaryPyFile(SOURCE_CODES["nannynag_errored"]) as file_path:
338 stdout = f"{file_path}\n"
339 self.validate_cmd("-q", file_path, stdout=stdout)
340
341 def test_verbose_mode(self):
342 """Should display more error information if verbose mode is on."""

Callers

nothing calls this directly

Calls 2

validate_cmdMethod · 0.95
TemporaryPyFileClass · 0.85

Tested by

no test coverage detected