From d282cf277a701ccaac4ce82fbc9996b020e7dcb8 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 20 Apr 2012 09:53:17 -0400 Subject: Test (and fix) the summary reporting failures due to not being able to parse the file. --- coverage/summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/summary.py') diff --git a/coverage/summary.py b/coverage/summary.py index fec9481..c8fa5be 100644 --- a/coverage/summary.py +++ b/coverage/summary.py @@ -68,7 +68,7 @@ class SummaryReporter(Reporter): report_it = not self.config.ignore_errors if report_it: typ, msg = sys.exc_info()[:2] - if typ is NotPython and not cu.should_be_python(".py"): + if typ is NotPython and not cu.should_be_python(): report_it = False if report_it: outfile.write(fmt_err % (cu.name, typ.__name__, msg)) -- cgit v1.2.1