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

Method test_double_verbose_mode

Lib/test/test_tabnanny.py:354–360  ·  view source on GitHub ↗

Should display detailed error information if double verbose is on.

(self)

Source from the content-addressed store, hash-verified

352
353 @unittest.expectedFailure # TODO: RUSTPYTHON
354 def test_double_verbose_mode(self):
355 """Should display detailed error information if double verbose is on."""
356 with TemporaryPyFile(SOURCE_CODES["nannynag_errored"]) as path:
357 stdout = textwrap.dedent(
358 "offending line: '\\tprint(\"world\")'"
359 ).strip()
360 self.validate_cmd("-vv", path, stdout=stdout, partial=True)

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