A python source code file eligible for raising `tabnanny.NannyNag`.
(self)
| 230 | self.verify_tabnanny_check(file_path, out=out) |
| 231 | |
| 232 | def test_when_nannynag_error(self): |
| 233 | """A python source code file eligible for raising `tabnanny.NannyNag`.""" |
| 234 | with TemporaryPyFile(SOURCE_CODES["nannynag_errored"]) as file_path: |
| 235 | out = f"{file_path} 3 '\\tprint(\"world\")'\n" |
| 236 | self.verify_tabnanny_check(file_path, out=out) |
| 237 | |
| 238 | def test_when_no_file(self): |
| 239 | """A python file which does not exist actually in system.""" |
nothing calls this directly
no test coverage detected