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

Method test_correct_file

Lib/test/test_tabnanny.py:167–170  ·  view source on GitHub ↗

A python source code file without any errors.

(self)

Source from the content-addressed store, hash-verified

165 self.assertEqual(stderr.getvalue(), err)
166
167 def test_correct_file(self):
168 """A python source code file without any errors."""
169 with TemporaryPyFile(SOURCE_CODES["error_free"]) as file_path:
170 self.verify_tabnanny_check(file_path)
171
172 def test_correct_directory_verbose(self):
173 """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