X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_clock_class.py;h=1f3959127208b274f23b0a3615ee05ac9f436631;hb=fb25b9e364c8eab9fe5e37947831e233086c7218;hp=b741be4ac389ecd0647f7188456f9749f5970208;hpb=be3d506c21784d8570375552aacf7a425a0f2303;p=babeltrace.git diff --git a/tests/bindings/python/bt2/test_clock_class.py b/tests/bindings/python/bt2/test_clock_class.py index b741be4a..1f395912 100644 --- a/tests/bindings/python/bt2/test_clock_class.py +++ b/tests/bindings/python/bt2/test_clock_class.py @@ -179,7 +179,7 @@ class ClockClassTestCase(unittest.TestCase): return comp_self._create_clock_class(frequency=1000) cc = run_in_component_init(f) - with self.assertRaises(OverflowError): + with self.assertRaises(bt2.OverflowError): cc.cycles_to_ns_from_origin(2**63) def test_create_uuid(self): @@ -277,7 +277,7 @@ class ClockSnapshotTestCase(unittest.TestCase): self._msg.default_clock_snapshot.ns_from_origin, ns_from_origin) def test_ns_from_origin_overflow(self): - with self.assertRaises(OverflowError): + with self.assertRaises(bt2.OverflowError): self._msg_clock_overflow.default_clock_snapshot.ns_from_origin def test_eq_int(self):