summaryrefslogtreecommitdiff
path: root/coverage/debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/debug.py')
-rw-r--r--coverage/debug.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/coverage/debug.py b/coverage/debug.py
index c516ac5b..ed6db680 100644
--- a/coverage/debug.py
+++ b/coverage/debug.py
@@ -114,7 +114,8 @@ def info_formatter(info):
info = list(info)
if not info:
return
- label_len = max(len(l) for l, _d in info)
+ label_len = 30
+ assert all(len(l) < label_len for l, _ in info)
for label, data in info:
if data == []:
data = "-none-"