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 | 6fd83c044bb02b67501bfbfb8f2cf878bafdd346 (patch) | |
tree | 14200a8446abad8fb40c5ced43603c2ae001e580 /coverage/control.py | |
parent | 6a8ba5c7e8c25e0e70b611151c91f97e395fd605 (diff) | |
download | python-coveragepy-6fd83c044bb02b67501bfbfb8f2cf878bafdd346.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 952897d..5e857aa 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) |