X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_trace_collection_message_iterator.py;h=f2ddb6d03394976cd477c0510c0001d739133ec9;hp=f9b6546fdb6b17f6936722ec98069c4c7a13259d;hb=0235b0db7de5bcacdb3650c92461f2ce5eb2143d;hpb=f0a42b33ac3951cd5cb2ee0f66ac04437a681621 diff --git a/tests/bindings/python/bt2/test_trace_collection_message_iterator.py b/tests/bindings/python/bt2/test_trace_collection_message_iterator.py index f9b6546f..f2ddb6d0 100644 --- a/tests/bindings/python/bt2/test_trace_collection_message_iterator.py +++ b/tests/bindings/python/bt2/test_trace_collection_message_iterator.py @@ -1,20 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2019 EfficiOS Inc. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; only version 2 -# of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# import unittest import datetime @@ -100,7 +87,8 @@ class ComponentSpecTestCase(unittest.TestCase): def test_create_sink_from_object(self): with self.assertRaisesRegex( - TypeError, "'_SinkComponentClass' is not a source or filter component class" + TypeError, + "'_SinkComponentClassConst' is not a source or filter component class", ): bt2.ComponentSpec(self._pretty_cc)