projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: pass config objects to component init methods
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
test_event_class.py
diff --git
a/tests/bindings/python/bt2/test_event_class.py
b/tests/bindings/python/bt2/test_event_class.py
index f2cf52cb47afba28e273bd73de3a975297ce1eb0..6a6eb4cb81308c55300ef07c828fe18bd17520f5 100644
(file)
--- a/
tests/bindings/python/bt2/test_event_class.py
+++ b/
tests/bindings/python/bt2/test_event_class.py
@@
-50,7
+50,7
@@
def _create_const_event_class(tc, stream_class):
return self._msgs.pop(0)
class MySrc(bt2._UserSourceComponent, message_iterator_class=MyIter):
- def __init__(self, params, obj):
+ def __init__(self,
config,
params, obj):
self._add_output_port('out', params)
graph = bt2.Graph()
This page took
0.024752 seconds
and
4
git commands to generate.