X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_clock_class.py;fp=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_clock_class.py;h=04df66ad90dda31eda2b41a9cb8139b3b97b1632;hp=8a32af8d274fb0e504d2273d8971e3329a834c08;hb=768f9bcbf4b5acd09dda85ab32c0ea30d8826136;hpb=53a47a3f01d6bfa4e940e1943e7645cb89d04cd5 diff --git a/tests/bindings/python/bt2/test_clock_class.py b/tests/bindings/python/bt2/test_clock_class.py index 8a32af8d..04df66ad 100644 --- a/tests/bindings/python/bt2/test_clock_class.py +++ b/tests/bindings/python/bt2/test_clock_class.py @@ -160,7 +160,7 @@ class ClockClassTestCase(unittest.TestCase): def test_cycles_to_ns_from_origin(self): def f(comp_self): return comp_self._create_clock_class( - frequency=10 ** 8, origin_is_unix_epoch=True + frequency=10**8, origin_is_unix_epoch=True ) cc = run_in_component_init(f) @@ -172,7 +172,7 @@ class ClockClassTestCase(unittest.TestCase): cc = run_in_component_init(f) with self.assertRaises(bt2._OverflowError): - cc.cycles_to_ns_from_origin(2 ** 63) + cc.cycles_to_ns_from_origin(2**63) def test_create_uuid(self): def f(comp_self): @@ -243,7 +243,7 @@ class ClockSnapshotTestCase(unittest.TestCase): elif self._at == 1: notif = self._create_event_message(_ec, _stream, 123) elif self._at == 2: - notif = self._create_event_message(_ec, _stream, 2 ** 63) + notif = self._create_event_message(_ec, _stream, 2**63) elif self._at == 3: notif = self._create_stream_end_message(_stream) else: