projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make discarded events/packets support and clock snapshots optional
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
test_event.py
diff --git
a/tests/bindings/python/bt2/test_event.py
b/tests/bindings/python/bt2/test_event.py
index 6f818cec407d03581ab7c74352f94b3def39470b..d420b33f67fccc01c0e0a27018e4515f20093676 100644
(file)
--- a/
tests/bindings/python/bt2/test_event.py
+++ b/
tests/bindings/python/bt2/test_event.py
@@
-11,7
+11,7
@@
class EventTestCase(unittest.TestCase):
with_ep=False):
class MyIter(bt2._UserMessageIterator):
with_ep=False):
class MyIter(bt2._UserMessageIterator):
- def __init__(self):
+ def __init__(self
, self_output_port
):
self._at = 0
def __next__(self):
self._at = 0
def __next__(self):
@@
-170,7
+170,7
@@
class EventTestCase(unittest.TestCase):
def test_no_clock_value(self):
msg = self._create_test_event_message(with_clockclass=False)
def test_no_clock_value(self):
msg = self._create_test_event_message(with_clockclass=False)
- with self.assertRaises(bt2.No
DefaultClockClass
):
+ with self.assertRaises(bt2.No
nexistentClockSnapshot
):
msg.default_clock_snapshot
def test_stream(self):
msg.default_clock_snapshot
def test_stream(self):
This page took
0.023833 seconds
and
4
git commands to generate.