diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-09 09:58:18 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-09 09:58:18 -0400 |
commit | f703ae86ce82834205e791d0c138f901494ddad0 (patch) | |
tree | 65ea982f4ceddd169fd8915c7d336a9146d9a0aa /coverage/report.py | |
parent | 9b685f291dee3f23785a0ab3dff4e413ea98f0da (diff) | |
download | python-coveragepy-f703ae86ce82834205e791d0c138f901494ddad0.tar.gz |
Remove should_be_python from the FileReporter interface
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 fa08186..1be4155 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 |