diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-05 10:05:03 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-05 10:05:03 -0400 |
commit | b9b08877c2c1c99b181a3e23a2e35e4ea0ff320c (patch) | |
tree | f0857b8c75f63f1eae3f4dbe8aecf912b2f832f4 /coverage/parser.py | |
parent | f3b03b4f5e1b1e8f808d425420c5ae6b0a1d15dc (diff) | |
download | python-coveragepy-b9b08877c2c1c99b181a3e23a2e35e4ea0ff320c.tar.gz |
Pretty soon I'll be able to use generator expressions...
Diffstat (limited to 'coverage/parser.py')
-rw-r--r-- | coverage/parser.py | 2 |
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. |