bt2: pass custom Python object to Python component's __init__()
[babeltrace.git] / tests / bindings / python / bt2 / test_clock_class.py
index d41b46714805a3584914d03161085fd827796d35..48ae9602fb7300858253605c92d65933254dcfc6 100644 (file)
@@ -239,7 +239,7 @@ class ClockSnapshotTestCase(unittest.TestCase):
                 return notif
 
         class MySrc(bt2._UserSourceComponent, message_iterator_class=MyIter):
-            def __init__(self, params):
+            def __init__(self, params, obj):
                 self._add_output_port('out')
 
         self._graph = bt2.Graph()
This page took 0.023858 seconds and 4 git commands to generate.