bt2: use format_bt_error and format_bt_error_cause to generate _Error and _ErrorCause...
[babeltrace.git] / tests / bindings / python / bt2 / test_error.py
index 6ec5fd89962c47f45b674727057cdcd1f1f8cb9f..f11cb2c2e92cf912d7ca5cd06a76136a06521514 100644 (file)
@@ -211,7 +211,7 @@ class ErrorTestCase(unittest.TestCase):
         # expected bits.
         exc = self._run_failing_graph(SourceWithFailingIter, SinkWithExceptionChaining)
         s = str(exc)
-        self.assertIn('[src (out): src.SourceWithFailingIter]', s)
+        self.assertIn("[src (out): 'source.SourceWithFailingIter']", s)
         self.assertIn('ValueError: oops', s)
 
 
This page took 0.023032 seconds and 4 git commands to generate.