with_ep=False):
class MyIter(bt2._UserMessageIterator):
- def __init__(self):
+ def __init__(self, self_output_port):
self._at = 0
def __next__(self):
def test_no_clock_value(self):
msg = self._create_test_event_message(with_clockclass=False)
- with self.assertRaises(bt2.NoDefaultClockClass):
+ with self.assertRaises(bt2.NonexistentClockSnapshot):
msg.default_clock_snapshot
def test_stream(self):