From 886c61c219b68dd66103a8c05f96ae9bf6b82ad6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 20 Apr 2012 13:10:09 -0400 Subject: Test (and fix) the not-python errors in base Reporter. --- coverage/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/report.py') 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 -- cgit v1.2.1