summaryrefslogtreecommitdiff
path: root/coverage/annotate.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-12-13 22:45:10 -0500
committerNed Batchelder <ned@nedbatchelder.com>2013-12-13 22:45:10 -0500
commitc573785e27091fb848fda48591dfdb40fd7afdcc (patch)
tree90b28404080164ff360c2645eb1326acf2047b44 /coverage/annotate.py
parent1582330616882c0c3024dd2a54b1e6fd390ddffb (diff)
parentef5aef10e2615dcbfe205e230e7c74f4e7a1a805 (diff)
downloadpython-coveragepy-c573785e27091fb848fda48591dfdb40fd7afdcc.tar.gz
Merged 4.0 to default
Diffstat (limited to 'coverage/annotate.py')
-rw-r--r--coverage/annotate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/coverage/annotate.py b/coverage/annotate.py
index b7f32c1..19777ea 100644
--- a/coverage/annotate.py
+++ b/coverage/annotate.py
@@ -59,9 +59,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