bt2: make _ListenerHandle not hold a strong reference on the target object
[babeltrace.git] / tests / bindings / python / bt2 / test_trace_class.py
index bd80586cfbc03393215fc98b2e7b4ff9f3884ddc..eca5274e03f13682eeb808d7049aee3083943d92 100644 (file)
@@ -198,9 +198,6 @@ class TraceClassTestCase(unittest.TestCase):
 
         trace_class.remove_destruction_listener(handle2)
 
-        del handle1
-        del handle2
-
         self.assertEqual(num_destruct_calls, 0)
 
         del trace_class
This page took 0.024276 seconds and 4 git commands to generate.