Move to kernel style SPDX license identifiers
[babeltrace.git] / tests / bindings / python / bt2 / test_interrupter.py
index 5c11f031dfe1921a20d34595cebb704b3e69b08f..0cd0306737f139a415fec292cadcbbb3606c92ec 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 bt2
 import unittest
@@ -45,3 +32,7 @@ class InterrupterTestCase(unittest.TestCase):
         self.assertTrue(self._interrupter)
         self._interrupter.reset()
         self.assertFalse(self._interrupter)
+
+
+if __name__ == '__main__':
+    unittest.main()
This page took 0.023213 seconds and 4 git commands to generate.