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

Method test_verbose_mode

Lib/test/test_tabnanny.py:345–351  ·  view source on GitHub ↗

Should display more error information if verbose mode is on.

(self)

Source from the content-addressed store, hash-verified

343
344 @unittest.expectedFailure # TODO: RUSTPYTHON
345 def test_verbose_mode(self):
346 """Should display more error information if verbose mode is on."""
347 with TemporaryPyFile(SOURCE_CODES["nannynag_errored"]) as path:
348 stdout = textwrap.dedent(
349 "offending line: '\\tprint(\"world\")'"
350 ).strip()
351 self.validate_cmd("-v", path, stdout=stdout, partial=True)
352
353 @unittest.expectedFailure # TODO: RUSTPYTHON
354 def test_double_verbose_mode(self):

Callers

nothing calls this directly

Calls 4

validate_cmdMethod · 0.95
TemporaryPyFileClass · 0.85
dedentMethod · 0.80
stripMethod · 0.45

Tested by

no test coverage detected