diff --git a/openlp/core/common/i18n.py b/openlp/core/common/i18n.py index 7c5b432d1..b2579d132 100644 --- a/openlp/core/common/i18n.py +++ b/openlp/core/common/i18n.py @@ -23,7 +23,6 @@ The :mod:`languages` module provides a list of language names with utility functions. """ import itertools -import locale import logging import re from collections import namedtuple diff --git a/tests/functional/openlp_core/common/test_i18n.py b/tests/functional/openlp_core/common/test_i18n.py index 6838bc345..2edc44b2e 100644 --- a/tests/functional/openlp_core/common/test_i18n.py +++ b/tests/functional/openlp_core/common/test_i18n.py @@ -22,10 +22,8 @@ """ Package to test the openlp.core.lib.languages package. """ -from unittest import skipIf from unittest.mock import MagicMock, patch -from openlp.core.common import is_macosx from openlp.core.common.i18n import LANGUAGES, Language, UiStrings, get_language, get_locale_key, get_natural_key, \ translate, LanguageManager from openlp.core.common.settings import Settings diff --git a/tests/functional/openlp_plugins/songs/test_mediaitem.py b/tests/functional/openlp_plugins/songs/test_mediaitem.py index 6b33a1d1d..3b0bbe3be 100644 --- a/tests/functional/openlp_plugins/songs/test_mediaitem.py +++ b/tests/functional/openlp_plugins/songs/test_mediaitem.py @@ -23,7 +23,7 @@ This module contains tests for the lib submodule of the Songs plugin. """ from unittest import TestCase -from unittest.mock import MagicMock, patch, call +from unittest.mock import MagicMock, patch from PyQt5 import QtCore