summaryrefslogtreecommitdiff
path: root/tests/template_tests/utils.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-01-20 08:01:02 -0500
committerGitHub <noreply@github.com>2017-01-20 08:01:02 -0500
commit4e729feaa647547f25debb1cb63dec989dc41a20 (patch)
tree7c7a38c5961bf4daf98a8cb47dc74c769563ffcf /tests/template_tests/utils.py
parentec4c1d6717da7a9d09d5b3ce84cccac819bb592c (diff)
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
Diffstat (limited to 'tests/template_tests/utils.py')
-rw-r--r--tests/template_tests/utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/template_tests/utils.py b/tests/template_tests/utils.py
index 8ee66a6523..e2a9305b5e 100644
--- a/tests/template_tests/utils.py
+++ b/tests/template_tests/utils.py
@@ -3,10 +3,9 @@ import os
from django.template.engine import Engine
from django.test.utils import override_settings
-from django.utils._os import upath
from django.utils.safestring import mark_safe
-ROOT = os.path.dirname(os.path.abspath(upath(__file__)))
+ROOT = os.path.dirname(os.path.abspath(__file__))
TEMPLATE_DIR = os.path.join(ROOT, 'templates')