bt2: Add remaining trace-ir `*Const` classes and adapt tests
[babeltrace.git] / src / bindings / python / bt2 / bt2 / message_iterator.py
index 09bff7a4fa50cffe4b87f813c34eacec11d229e9..d28beb25a30c6cb9d3f710c8d7d8b77d47e10ff2 100644 (file)
@@ -146,7 +146,7 @@ class _UserMessageIterator(_MessageIterator):
         except Exception:
             raise
 
-        utils._check_type(msg, bt2_message._Message)
+        utils._check_type(msg, bt2_message._MessageConst)
 
         # The reference we return will be given to the message array.
         # However, the `msg` Python object may stay alive, if the user has kept
This page took 0.023173 seconds and 4 git commands to generate.