mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
This commit is contained in:
@@ -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',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user