summaryrefslogtreecommitdiff
path: root/coverage/annotate.py
diff options
context:
space:
mode:
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 b7f32c1c..19777eaf 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