diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-04-20 09:53:17 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-04-20 09:53:17 -0400 |
commit | d282cf277a701ccaac4ce82fbc9996b020e7dcb8 (patch) | |
tree | 75871dc821adb0a2820e26be889820ef785a64b8 /coverage/summary.py | |
parent | ca739cdb76ca212c71732066f7823dc65c8e79af (diff) | |
download | python-coveragepy-d282cf277a701ccaac4ce82fbc9996b020e7dcb8.tar.gz |
Test (and fix) the summary reporting failures due to not being able to parse the file.
Diffstat (limited to 'coverage/summary.py')
-rw-r--r-- | coverage/summary.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |