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

Method test_correct_file

Lib/test/test_tabnanny.py:168–171  ·  view source on GitHub ↗

A python source code file without any errors.

(self)

Source from the content-addressed store, hash-verified

166 self.assertEqual(stderr.getvalue(), err)
167
168 def test_correct_file(self):
169 """A python source code file without any errors."""
170 with TemporaryPyFile(SOURCE_CODES["error_free"]) as file_path:
171 self.verify_tabnanny_check(file_path)
172
173 def test_correct_directory_verbose(self):
174 """Directory containing few error free python source code files.

Callers

nothing calls this directly

Calls 2

verify_tabnanny_checkMethod · 0.95
TemporaryPyFileClass · 0.85

Tested by

no test coverage detected