summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mpv.py15
-rwxr-xr-xtests/test_mpv.py14
2 files changed, 21 insertions, 8 deletions
diff --git a/mpv.py b/mpv.py
index 8d7aebc..8f1945e 100644
--- a/mpv.py
+++ b/mpv.py
@@ -2,18 +2,17 @@
# vim: ts=4 sw=4 et
#
# Python MPV library module
-# Copyright (C) 2017-2020 Sebastian Götte <code@jaseg.net>
+# Copyright (C) 2017-2022 Sebastian Götte <code@jaseg.net>
#
-# This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
-# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any
-# later version.
+# 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; either version 2 of the License, or (at your option) any later
+# version.
#
# 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 Affero General Public License for more
-# details.
+# 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 Affero General Public License along with this program. If not, see
-# <http://www.gnu.org/licenses/>.
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
from ctypes import *
diff --git a/tests/test_mpv.py b/tests/test_mpv.py
index 520d6bb..26f4cbd 100755
--- a/tests/test_mpv.py
+++ b/tests/test_mpv.py
@@ -1,6 +1,20 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: ts=4 sw=4 et
+#
+# Python MPV library module
+# Copyright (C) 2017-2022 Sebastian Götte <code@jaseg.net>
+#
+# 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; either version 2 of the License, or (at your option) any later
+# version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
import unittest
from unittest import mock