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

Unified Diff: third_party/coverage-3.7.1/coverage/annotate.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, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/coverage-3.7.1/coverage/__main__.py ('k') | third_party/coverage-3.7.1/coverage/backward.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/coverage-3.7.1/coverage/annotate.py
diff --git a/third_party/coverage-3.6/coverage/annotate.py b/third_party/coverage-3.7.1/coverage/annotate.py
similarity index 92%
rename from third_party/coverage-3.6/coverage/annotate.py
rename to third_party/coverage-3.7.1/coverage/annotate.py
index b7f32c1c2a2f97acb356b885faad412903cbb2c7..5c396784445cabaa28be0dac7a7316d67bfd7111 100644
--- a/third_party/coverage-3.6/coverage/annotate.py
+++ b/third_party/coverage-3.7.1/coverage/annotate.py
@@ -2,6 +2,7 @@
import os, re
+from coverage.backward import sorted # pylint: disable=W0622
from coverage.report import Reporter
class AnnotateReporter(Reporter):
@@ -59,9 +60,9 @@ class AnnotateReporter(Reporter):
dest_file = filename + ",cover"
dest = open(dest_file, 'w')
- statements = analysis.statements
- missing = analysis.missing
- excluded = analysis.excluded
+ statements = sorted(analysis.statements)
+ missing = sorted(analysis.missing)
+ excluded = sorted(analysis.excluded)
lineno = 0
i = 0
« no previous file with comments | « third_party/coverage-3.7.1/coverage/__main__.py ('k') | third_party/coverage-3.7.1/coverage/backward.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698