bt2: make _ListenerHandle not hold a strong reference on the target object
[babeltrace.git] / tests / bindings / python / bt2 / test_trace.py
index 4a1b1b61669d64e829465317b9276678e4828bb9..70e70e7548003bb52bc3e7f3cf7b93dd4f7c3d2d 100644 (file)
@@ -168,9 +168,6 @@ class TraceTestCase(unittest.TestCase):
 
         trace.remove_destruction_listener(td_handle2)
 
-        del td_handle1
-        del td_handle2
-
         self.assertEqual(num_trace_class_destroyed_calls, 0)
         self.assertEqual(num_trace_destroyed_calls, 0)
 
This page took 0.031529 seconds and 4 git commands to generate.