MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_quiet_flag

Method test_quiet_flag

Lib/test/test_tabnanny.py:338–342  ·  view source on GitHub ↗

Should display less when quite mode is on.

(self)

Source from the content-addressed store, hash-verified

336 self.validate_cmd(stderr=stderr, expect_failure=True)
337
338 def test_quiet_flag(self):
339 """Should display less when quite mode is on."""
340 with TemporaryPyFile(SOURCE_CODES["nannynag_errored"]) as file_path:
341 stdout = f"{file_path}\n"
342 self.validate_cmd("-q", file_path, stdout=stdout)
343
344 @unittest.expectedFailure # TODO: RUSTPYTHON
345 def test_verbose_mode(self):

Callers

nothing calls this directly

Calls 2

validate_cmdMethod · 0.95
TemporaryPyFileClass · 0.85

Tested by

no test coverage detected