bt2: clean available `bt2` package names
[babeltrace.git] / tests / bindings / python / bt2 / test_query_executor.py
index a5d852f57c745f7b0fdef4a41bd551a1247086c7..52af46649eb9afa3ab3ebe277de928695b2da1c4 100644 (file)
@@ -103,7 +103,7 @@ class QueryExecutorTestCase(unittest.TestCase):
         exc = ctx.exception
         self.assertEqual(len(exc), 2)
         cause = exc[0]
-        self.assertIsInstance(cause, bt2.error._ComponentClassErrorCause)
+        self.assertIsInstance(cause, bt2._ComponentClassErrorCause)
         self.assertIn('raise ValueError', cause.message)
         self.assertEqual(cause.component_class_type, bt2.ComponentClassType.SINK)
         self.assertEqual(cause.component_class_name, 'MySink')
This page took 0.022943 seconds and 4 git commands to generate.