diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2011-05-28 19:01:28 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-05-28 19:01:28 -0400 |
commit | 3b0941a7d679285118d12c25293acb969056e817 (patch) | |
tree | 8ef482fafe5195d03a3e38f28b799b8b69ed8bbe /coverage/results.py | |
parent | 603e508d2aac52311dd9f6dfdeaa3f02e8c0b582 (diff) | |
download | python-coveragepy-3b0941a7d679285118d12c25293acb969056e817.tar.gz |
Minor cleanups
Diffstat (limited to 'coverage/results.py')
-rw-r--r-- | coverage/results.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/results.py b/coverage/results.py index d92b503..7b032f1 100644 --- a/coverage/results.py +++ b/coverage/results.py @@ -97,8 +97,8 @@ class Analysis(object): # trouble, and here is where it's the least burden to remove them. unpredicted = [ e for e in executed - if e not in possible - and e[0] != e[1] + if e not in possible + and e[0] != e[1] and e[0] not in self.no_branch ] return sorted(unpredicted) |