summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-10-19 06:55:03 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-10-19 06:55:03 -0400
commit6fd83c044bb02b67501bfbfb8f2cf878bafdd346 (patch)
tree14200a8446abad8fb40c5ced43603c2ae001e580 /coverage/control.py
parent6a8ba5c7e8c25e0e70b611151c91f97e395fd605 (diff)
downloadpython-coveragepy-6fd83c044bb02b67501bfbfb8f2cf878bafdd346.tar.gz
Start testing exceptions with arc measurements.
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py5
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)