summaryrefslogtreecommitdiff
path: root/coverage/html.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/html.py')
-rw-r--r--coverage/html.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/coverage/html.py b/coverage/html.py
index e3b814c5..4aa018e3 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -3,7 +3,6 @@
"""HTML reporting for coverage.py."""
-import collections
import datetime
import json
import os
@@ -97,8 +96,6 @@ class HtmlDataGeneration(object):
if self.config.show_contexts:
contexts_by_lineno = analysis.data.contexts_by_lineno(fr.filename)
- else:
- contexts_by_lineno = collections.defaultdict(list)
lines = []