summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests/i18n/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template_tests/syntax_tests/i18n/base.py')
-rw-r--r--tests/template_tests/syntax_tests/i18n/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/template_tests/syntax_tests/i18n/base.py b/tests/template_tests/syntax_tests/i18n/base.py
index 690e5d3933..61d2bbdb1c 100644
--- a/tests/template_tests/syntax_tests/i18n/base.py
+++ b/tests/template_tests/syntax_tests/i18n/base.py
@@ -2,10 +2,9 @@ import os
from django.conf import settings
from django.test import SimpleTestCase
-from django.utils._os import upath
from django.utils.translation import activate, get_language
-here = os.path.dirname(os.path.dirname(os.path.abspath(upath(__file__))))
+here = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
pdir = os.path.split(os.path.split(os.path.abspath(here))[0])[0]
extended_locale_paths = settings.LOCALE_PATHS + [
os.path.join(pdir, 'i18n', 'other', 'locale'),