This error message was probably copied from trace.py. It should say
"trace class" and "trace".
Change-Id: Ib9fcae27102a90ffe5492e74906ca1a1d5205dfc
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2425
if listener_handle._obj.addr != self.addr:
raise ValueError(
- 'This trace class destruction listener does not match the trace object.'
+ 'This trace class destruction listener does not match the trace class object.'
)
if listener_handle._listener_id is None:
with self.assertRaisesRegex(
ValueError,
- r'This trace class destruction listener does not match the trace object\.',
+ r'This trace class destruction listener does not match the trace class object\.',
):
trace_class_2.remove_destruction_listener(handle1)