summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/enum_test.py
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-09-08 14:19:34 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-09-08 14:19:34 -0300
commitcd78e72332f2e21e4e04c20ad33b46260dd32742 (patch)
treea56d93498c6531dfac69eb0246e9bde259232ea8 /tests/samplebinding/enum_test.py
parentb5c80ba98c0100e4aafb5ec767e165949cb5898a (diff)
downloadshiboken-cd78e72332f2e21e4e04c20ad33b46260dd32742.tar.gz
shiboken-cd78e72332f2e21e4e04c20ad33b46260dd32742.tar.xz
shiboken-cd78e72332f2e21e4e04c20ad33b46260dd32742.zip
Fix LGPL license plates to libsample unit tests, so the tests can be executed again.
Diffstat (limited to 'tests/samplebinding/enum_test.py')
-rwxr-xr-xtests/samplebinding/enum_test.py50
1 files changed, 24 insertions, 26 deletions
diff --git a/tests/samplebinding/enum_test.py b/tests/samplebinding/enum_test.py
index d3b3edfc..094a16c1 100755
--- a/tests/samplebinding/enum_test.py
+++ b/tests/samplebinding/enum_test.py
@@ -1,30 +1,28 @@
-'''
-This file is part of the Shiboken Python Bindings Generator project.
-
-Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
-
-Contact: PySide team <contact@pyside.org>
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public License
-version 2.1 as published by the Free Software Foundation. Please
-review the following information to ensure the GNU Lesser General
-Public License version 2.1 requirements will be met:
-http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-
-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
-Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public
-License along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-02110-1301 USA
-'''
-
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
+#
+# This file is part of the Shiboken Python Bindings Generator project.
+#
+# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+#
+# Contact: PySide team <contact@pyside.org>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public License
+# version 2.1 as published by the Free Software Foundation. Please
+# review the following information to ensure the GNU Lesser General
+# Public License version 2.1 requirements will be met:
+# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+# #
+# 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
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+# 02110-1301 USA
'''Test cases for Python representation of C++ enums'''