X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_clock_class.py;h=d41b46714805a3584914d03161085fd827796d35;hb=cb06aa2778f8a784a2d1fea212d00dfbc525657b;hp=c8828ebfc5d1105be52c2dfe3ff960d3069a4144;hpb=520cdc8260ea033f1c9f54b87d93fcb034ae8472;p=babeltrace.git diff --git a/tests/bindings/python/bt2/test_clock_class.py b/tests/bindings/python/bt2/test_clock_class.py index c8828ebf..d41b4671 100644 --- a/tests/bindings/python/bt2/test_clock_class.py +++ b/tests/bindings/python/bt2/test_clock_class.py @@ -181,7 +181,7 @@ class ClockClassTestCase(unittest.TestCase): return comp_self._create_clock_class(frequency=1000) cc = run_in_component_init(f) - with self.assertRaises(bt2.OverflowError): + with self.assertRaises(bt2._OverflowError): cc.cycles_to_ns_from_origin(2 ** 63) def test_create_uuid(self): @@ -278,7 +278,7 @@ class ClockSnapshotTestCase(unittest.TestCase): ) def test_ns_from_origin_overflow(self): - with self.assertRaises(bt2.OverflowError): + with self.assertRaises(bt2._OverflowError): self._msg_clock_overflow.default_clock_snapshot.ns_from_origin def test_eq_int(self):