From 9c308678f4043a093503df1770caf8bc9d6bec9d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 5 Oct 2013 10:05:03 -0400 Subject: Pretty soon I'll be able to use generator expressions... --- coverage/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/parser.py') diff --git a/coverage/parser.py b/coverage/parser.py index d531d128..581c8518 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. -- cgit v1.2.1