Move to kernel style SPDX license identifiers
[babeltrace.git] / tests / bindings / python / bt2 / test_trace_collection_message_iterator.py
index f9b6546fdb6b17f6936722ec98069c4c7a13259d..f2ddb6d03394976cd477c0510c0001d739133ec9 100644 (file)
@@ -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)
 
This page took 0.022906 seconds and 4 git commands to generate.