summaryrefslogtreecommitdiff
path: root/coverage/results.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/results.py')
-rw-r--r--coverage/results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/results.py b/coverage/results.py
index dc93f3f..7853848 100644
--- a/coverage/results.py
+++ b/coverage/results.py
@@ -96,7 +96,7 @@ class Analysis(object):
for line, exits in line_exits:
for ex in sorted(exits):
if line not in missing:
- pairs.append('%d->%d' % (line, ex))
+ pairs.append("%d->%s" % (line, (ex if ex > 0 else "exit")))
return ', '.join(pairs)
def arcs_unpredicted(self):