From 832ee468e711e6d33fb49fb718e60a85c970a8ef Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 19 Oct 2009 06:55:03 -0400 Subject: Start testing exceptions with arc measurements. --- coverage/control.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'coverage/control.py') 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) -- cgit v1.2.1