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 |