bt2: don't show warning when query method raises a non-error exception
[babeltrace.git] / tests / bindings / python / bt2 / test_query_executor.py
index 3a0e27cb7b7eb1cfb34a08f0cd8feaacf15b4875..62f84d4a50712fbcdff3e82ecb2a61f6e6f350cc 100644 (file)
@@ -171,7 +171,7 @@ class QueryExecutorTestCase(unittest.TestCase):
             res = bt2.QueryExecutor(MySink, 'obj', [17, 23]).query()
 
         exc = ctx.exception
-        self.assertEqual(len(exc), 2)
+        self.assertEqual(len(exc), 3)
         cause = exc[0]
         self.assertIsInstance(cause, bt2._ComponentClassErrorCause)
         self.assertIn('raise ValueError', cause.message)
This page took 0.023189 seconds and 4 git commands to generate.