Lines Matching defs:trace
243 Test that the trace callback is invoked once it is set.
247 def trace(statement):
249 con.set_trace_callback(trace)
256 Test that setting the trace callback to None clears the previously set callback.
260 def trace(statement):
262 con.set_trace_callback(trace)
265 self.assertFalse(traced_statements, "trace callback was not cleared")
274 def trace(statement):
276 con.set_trace_callback(trace)
281 "Unicode data %s garbled in trace callback: %s"
287 def trace(statement):
296 con1.set_trace_callback(trace)