diff options
Diffstat (limited to 'coverage/report.py')
-rw-r--r-- | coverage/report.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coverage/report.py b/coverage/report.py index fa081862..1be4155d 100644 --- a/coverage/report.py +++ b/coverage/report.py @@ -87,5 +87,7 @@ class Reporter(object): except NotPython: # Only report errors for .py files, and only if we didn't # explicitly suppress those errors. + # NotPython is only raised by PythonFileReporter, which has a + # should_be_python() method. if fr.should_be_python() and not self.config.ignore_errors: raise |