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

Method test_with_error_free_file

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

Should not display anything if python file is correctly indented.

(self)

Source from the content-addressed store, hash-verified

325 self.validate_cmd(file_path, stderr=stderr, expect_failure=True)
326
327 def test_with_error_free_file(self):
328 """Should not display anything if python file is correctly indented."""
329 with TemporaryPyFile(SOURCE_CODES["error_free"]) as file_path:
330 self.validate_cmd(file_path)
331
332 def test_command_usage(self):
333 """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