From b9b08877c2c1c99b181a3e23a2e35e4ea0ff320c 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 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. -- cgit v1.2.1