bt2: prepend underscore to exceptions not meant to be raised by user
[babeltrace.git] / tests / bindings / python / bt2 / test_query_executor.py
index 9f57f30b32e47d7eec82c1171266cb2aa1c773f1..0977430940f6afef0b07881cb104f634f77ea5d5 100644 (file)
@@ -97,7 +97,7 @@ class QueryExecutorTestCase(unittest.TestCase):
             def _query(cls, query_exec, obj, params, log_level):
                 raise ValueError
 
-        with self.assertRaises(bt2.Error) as ctx:
+        with self.assertRaises(bt2._Error) as ctx:
             res = bt2.QueryExecutor().query(MySink, 'obj', [17, 23])
 
         exc = ctx.exception
This page took 0.024367 seconds and 4 git commands to generate.