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 | db93205a36d4e55ae01c0c625c446b74e0438797 (patch) | |
tree | 251ad369b397d82df8815ea55ddb668087d4f1b4 /coverage/summary.py | |
parent | d7f2c64b7071d20378d6864cc4ec1c1c83b09175 (diff) | |
download | python-coveragepy-git-db93205a36d4e55ae01c0c625c446b74e0438797.tar.gz |
Remove should_be_python from the FileReporter interface
Diffstat (limited to 'coverage/summary.py')
-rw-r--r-- | coverage/summary.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coverage/summary.py b/coverage/summary.py index 03270c04..7eb0f2fc 100644 --- a/coverage/summary.py +++ b/coverage/summary.py @@ -87,6 +87,8 @@ class SummaryReporter(Reporter): report_it = not self.config.ignore_errors if report_it: typ, msg = sys.exc_info()[:2] + # NotPython is only raised by PythonFileReporter, which has a + # should_be_python() method. if typ is NotPython and not fr.should_be_python(): report_it = False if report_it: |