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 | 9c308678f4043a093503df1770caf8bc9d6bec9d (patch) | |
tree | f92ead4d524302142ece2cf845ff2d18a0df5376 /coverage/parser.py | |
parent | d022939e885a756f838b031f9e2f47fecbebd0f2 (diff) | |
download | python-coveragepy-git-9c308678f4043a093503df1770caf8bc9d6bec9d.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 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. |