From 4e729feaa647547f25debb1cb63dec989dc41a20 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 20 Jan 2017 08:01:02 -0500 Subject: Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. These functions do nothing on Python 3. --- tests/project_template/test_settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/project_template') 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', ) -- cgit v1.3