Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: third_party/coverage-3.7.1/coverage/report.py

Issue 225633007: Upgrade to coverage 3.7.1 and have it auto-build itself on first use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: sigh our imports are a mess Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 """Reporter foundation for Coverage.""" 1 """Reporter foundation for Coverage."""
2 2
3 import fnmatch, os 3 import fnmatch, os
4 from coverage.codeunit import code_unit_factory 4 from coverage.codeunit import code_unit_factory
5 from coverage.files import prep_patterns 5 from coverage.files import prep_patterns
6 from coverage.misc import CoverageException, NoSource, NotPython 6 from coverage.misc import CoverageException, NoSource, NotPython
7 7
8 class Reporter(object): 8 class Reporter(object):
9 """A base class for all reporters.""" 9 """A base class for all reporters."""
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 try: 83 try:
84 report_fn(cu, self.coverage._analyze(cu)) 84 report_fn(cu, self.coverage._analyze(cu))
85 except NoSource: 85 except NoSource:
86 if not self.config.ignore_errors: 86 if not self.config.ignore_errors:
87 raise 87 raise
88 except NotPython: 88 except NotPython:
89 # Only report errors for .py files, and only if we didn't 89 # Only report errors for .py files, and only if we didn't
90 # explicitly suppress those errors. 90 # explicitly suppress those errors.
91 if cu.should_be_python() and not self.config.ignore_errors: 91 if cu.should_be_python() and not self.config.ignore_errors:
92 raise 92 raise
OLDNEW
« no previous file with comments | « third_party/coverage-3.7.1/coverage/phystokens.py ('k') | third_party/coverage-3.7.1/coverage/results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698