diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-19 06:55:03 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-19 06:55:03 -0400 |
commit | 832ee468e711e6d33fb49fb718e60a85c970a8ef (patch) | |
tree | 048ed03bbec8096b58f6123a5b81cba1ef684f5a /coverage/control.py | |
parent | 352324b4df27881776ceeb9584574081691a477e (diff) | |
download | python-coveragepy-git-832ee468e711e6d33fb49fb718e60a85c970a8ef.tar.gz |
Start testing exceptions with arc measurements.
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/coverage/control.py b/coverage/control.py index 952897dc..5e857aa6 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -381,3 +381,8 @@ class Analysis: missing = [p for p in possible if p not in executed] return sorted(missing) + def arcs_unpredicted(self): + possible = self.arc_possibilities() + executed = self.arcs_executed() + unpredicted = [e for e in executed if e not in possible] + return sorted(unpredicted) |