lib: pass config object to message iterator init method, add can seek forward property
[babeltrace.git] / tests / bindings / python / bt2 / test_field_class.py
index 3a383fddd7ff911c92035562754b3e98f7005013..01c1a46ae61cd8440dfaab8522b9781ea105393f 100644 (file)
@@ -41,7 +41,7 @@ def _create_const_field_class(tc, field_class, value_setter_fn):
     field_name = 'const field'
 
     class MyIter(bt2._UserMessageIterator):
-        def __init__(self, self_port_output):
+        def __init__(self, config, self_port_output):
             nonlocal field_class
             nonlocal value_setter_fn
             stream = _create_stream(tc, [(field_name, field_class)])
This page took 0.02301 seconds and 4 git commands to generate.