bt2: pass custom Python object to Python component's __init__()
[babeltrace.git] / tests / bindings / python / bt2 / test_message.py
index da91b75312abb2e0fcc3ecd80fe008a0bd06accf..78e8dec066592aae1ad15ffa293d28ba9e240203 100644 (file)
@@ -102,7 +102,7 @@ class AllMessagesTestCase(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', params)
 
                 with_cc = bool(params['with_cc'])
This page took 0.036717 seconds and 4 git commands to generate.