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

Method test_double_verbose_mode

Lib/test/test_tabnanny.py:349–355  ·  view source on GitHub ↗

Should display detailed error information if double verbose is on.

(self)

Source from the content-addressed store, hash-verified

347 self.validate_cmd("-v", path, stdout=stdout, partial=True)
348
349 def test_double_verbose_mode(self):
350 """Should display detailed error information if double verbose is on."""
351 with TemporaryPyFile(SOURCE_CODES["nannynag_errored"]) as path:
352 stdout = textwrap.dedent(
353 "offending line: '\\tprint(\"world\")'"
354 ).strip()
355 self.validate_cmd("-vv", path, stdout=stdout, partial=True)
356
357
358class TestModule(TestCase):

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected