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

Method test_with_error_free_file

Lib/test/test_tabnanny.py:324–327  ·  view source on GitHub ↗

Should not display anything if python file is correctly indented.

(self)

Source from the content-addressed store, hash-verified

322 self.validate_cmd(file_path, stderr=stderr, expect_failure=True)
323
324 def test_with_error_free_file(self):
325 """Should not display anything if python file is correctly indented."""
326 with TemporaryPyFile(SOURCE_CODES["error_free"]) as file_path:
327 self.validate_cmd(file_path)
328
329 def test_command_usage(self):
330 """Should display usage on no arguments."""

Callers

nothing calls this directly

Calls 2

validate_cmdMethod · 0.95
TemporaryPyFileClass · 0.85

Tested by

no test coverage detected