projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: prepend `_` to names of exception classes the user cannot call
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
test_clock_class.py
diff --git
a/tests/bindings/python/bt2/test_clock_class.py
b/tests/bindings/python/bt2/test_clock_class.py
index c8828ebfc5d1105be52c2dfe3ff960d3069a4144..d41b46714805a3584914d03161085fd827796d35 100644
(file)
--- 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)
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):
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):
)
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):
self._msg_clock_overflow.default_clock_snapshot.ns_from_origin
def test_eq_int(self):
This page took
0.027655 seconds
and
4
git commands to generate.