bt2: prepend underscore to exceptions not meant to be raised by user
[babeltrace.git] / tests / bindings / python / bt2 / test_message_iterator.py
index 72003da701710ce91e19e015149fc5a933825a68..0f9182f26b8ea9fb95e4758c8395f64c6913fcb3 100644 (file)
@@ -297,7 +297,7 @@ class UserMessageIteratorTestCase(unittest.TestCase):
 
         MySourceIter._seek_beginning = _seek_beginning_error
 
-        with self.assertRaises(bt2.Error):
+        with self.assertRaises(bt2._Error):
             it.seek_beginning()
 
     # Try consuming many times from an iterator that always returns TryAgain.
This page took 0.022627 seconds and 4 git commands to generate.