From f908d802dba1fa1df26d303a7d0cec080a9f494f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 24 Oct 2009 19:21:58 -0400 Subject: The C tracer function can do arc tracing also. --- coverage/collector.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'coverage/collector.py') diff --git a/coverage/collector.py b/coverage/collector.py index a6910b1..6a2caf8 100644 --- a/coverage/collector.py +++ b/coverage/collector.py @@ -133,9 +133,8 @@ class Collector(object): self.should_trace = should_trace self.branch = branch self.reset() - if branch: # TODO: For now use PyTracer for branch, so we can wait to update the C code. - self._trace_class = PyTracer - elif timid: + + if timid: # Being timid: use the simple Python trace function. self._trace_class = PyTracer else: -- cgit v1.2.1