bt2: pass custom Python object to Python component's __init__()
[babeltrace.git] / tests / bindings / python / bt2 / test_event.py
index ab65e0fa4c270e97be9632e08ce8a30186e106ff..ea65b5909dfcbd8095628486ff6b5075adaa19c9 100644 (file)
@@ -75,7 +75,7 @@ class EventTestCase(unittest.TestCase):
                 return msg
 
         class MySrc(bt2._UserSourceComponent, message_iterator_class=MyIter):
-            def __init__(self, params):
+            def __init__(self, params, obj):
                 self._add_output_port('out')
                 tc = self._create_trace_class()
 
This page took 0.0248699999999999 seconds and 4 git commands to generate.