summaryrefslogtreecommitdiff
path: root/coverage/results.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/results.py')
-rw-r--r--coverage/results.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/results.py b/coverage/results.py
index 529899de..7b7985ac 100644
--- a/coverage/results.py
+++ b/coverage/results.py
@@ -303,14 +303,14 @@ def format_lines(statements, lines, arcs=None):
included in the output as long as start isn't in `lines`.
"""
- line_items = [(pair[0], 0, nice_pair(pair)) for pair in _line_ranges(statements, lines)]
+ line_items = [(pair[0], nice_pair(pair)) for pair in _line_ranges(statements, lines)]
if arcs:
line_exits = sorted(arcs)
for line, exits in line_exits:
for ex in sorted(exits):
if line not in lines:
dest = (ex if ex > 0 else "exit")
- line_items.append((line, 1, "%d->%s" % (line, dest)))
+ line_items.append((line, "%d->%s" % (line, dest)))
ret = ', '.join(t[-1] for t in sorted(line_items))
return ret