Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
"""
def __init__(self, stream_class):
if not isinstance(stream_class, CTFWriter.StreamClass):
"""
def __init__(self, stream_class):
if not isinstance(stream_class, CTFWriter.StreamClass):
- raise TypeError("Invalid stream_class type.")
+ raise TypeError("Invalid stream_class argument must be of type StreamClass.")
self._s = _bt_ctf_stream_create(stream_class._sc)
if self._s is None:
self._s = _bt_ctf_stream_create(stream_class._sc)
if self._s is None: