diff --git a/tests/i18n/test_percents.py b/tests/i18n/test_percents.py index 8ce4a0b3287..4d335707746 100644 --- a/tests/i18n/test_percents.py +++ b/tests/i18n/test_percents.py @@ -11,7 +11,6 @@ from django.utils.translation import activate, get_language, trans_real from .utils import POFileAssertionMixin - SAMPLEPROJECT_DIR = os.path.join(os.path.dirname(os.path.abspath(upath(__file__))), 'sampleproject') SAMPLEPROJECT_LOCALE = os.path.join(SAMPLEPROJECT_DIR, 'locale') diff --git a/tests/i18n/utils.py b/tests/i18n/utils.py index 4fac02f9bc6..f66e826d192 100644 --- a/tests/i18n/utils.py +++ b/tests/i18n/utils.py @@ -5,7 +5,6 @@ import tempfile from django.utils._os import upath - source_code_dir = os.path.dirname(upath(__file__))