summaryrefslogtreecommitdiff
path: root/tests/project_template
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/project_template
parentec4c1d6717da7a9d09d5b3ce84cccac819bb592c (diff)
downloaddjango-4e729feaa647547f25debb1cb63dec989dc41a20.tar.gz
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
Diffstat (limited to 'tests/project_template')
-rw-r--r--tests/project_template/test_settings.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/project_template/test_settings.py b/tests/project_template/test_settings.py
index 5623df320b..50fa31d8f3 100644
--- a/tests/project_template/test_settings.py
+++ b/tests/project_template/test_settings.py
@@ -3,14 +3,13 @@ import shutil
from django import conf
from django.test import TestCase
-from django.utils._os import upath
class TestStartProjectSettings(TestCase):
def setUp(self):
# Ensure settings.py exists
project_dir = os.path.join(
- os.path.dirname(upath(conf.__file__)),
+ os.path.dirname(conf.__file__),
'project_template',
'project_name',
)