summaryrefslogtreecommitdiff
path: root/coverage/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/parser.py')
-rw-r--r--coverage/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py
index d531d12..581c851 100644
--- a/coverage/parser.py
+++ b/coverage/parser.py
@@ -550,7 +550,7 @@ class ByteParser(object):
# starts is the entrances to the chunks
starts = set([ch.byte for ch in chunks])
for ch in chunks:
- assert all((ex in starts or ex < 0) for ex in ch.exits)
+ assert all([(ex in starts or ex < 0) for ex in ch.exits])
def _arcs(self):
"""Find the executable arcs in the code.