diff --git a/README.md b/README.md index c8232b23..c2780cce 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ and gettext to build the Flatpak. #### Source -Gaupol requires Python ≥ 3.2, PyGObject ≥ 3.12 and GTK ≥ 3.12. +Gaupol requires Python ≥ 3.4, PyGObject ≥ 3.12 and GTK ≥ 3.12. Additionally, during installation you need gettext. Optional, but strongly recommended dependencies include: diff --git a/aeidon/test/test_locales.py b/aeidon/test/test_locales.py index 5ac4a66d..711b4521 100644 --- a/aeidon/test/test_locales.py +++ b/aeidon/test/test_locales.py @@ -16,7 +16,7 @@ # along with this program. If not, see . import aeidon -import imp +import importlib from aeidon.i18n import _, d_ from unittest.mock import patch @@ -46,10 +46,10 @@ def test_get_system_code(self): @patch.dict("os.environ", dict(LANGUAGE="sr@Latn")) def test_get_system_modifier__latn(self): - imp.reload(aeidon.locales) + importlib.reload(aeidon.locales) assert aeidon.locales.get_system_modifier() == "Latn" @patch.dict("os.environ", dict(LANGUAGE="en")) def test_get_system_modifier__none(self): - imp.reload(aeidon.locales) + importlib.reload(aeidon.locales) assert aeidon.locales.get_system_modifier() is None