summaryrefslogtreecommitdiff
path: root/coverage/report.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/report.py')
-rw-r--r--coverage/report.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/report.py b/coverage/report.py
index f6a9c2a8..e351340f 100644
--- a/coverage/report.py
+++ b/coverage/report.py
@@ -87,5 +87,5 @@ class Reporter(object):
except NotPython:
# Only report errors for .py files, and only if we didn't
# explicitly suppress those errors.
- if cu.should_be_python(".py") and not self.config.ignore_errors:
+ if cu.should_be_python() and not self.config.ignore_errors:
raise