lib: make discarded events/packets support and clock snapshots optional
[babeltrace.git] / tests / bindings / python / bt2 / test_event.py
index 4c21ee7fe144dd204a963ff9da93f057fd8a4d34..d420b33f67fccc01c0e0a27018e4515f20093676 100644 (file)
@@ -170,7 +170,7 @@ class EventTestCase(unittest.TestCase):
 
     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):
This page took 0.024332 seconds and 4 git commands to generate.