mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
This commit is contained in:
@@ -1,18 +1,11 @@
|
||||
import os
|
||||
import shutil
|
||||
import unittest
|
||||
|
||||
from django import conf
|
||||
from django.test import TestCase
|
||||
from django.utils import six
|
||||
from django.utils._os import upath
|
||||
|
||||
|
||||
@unittest.skipIf(
|
||||
six.PY2,
|
||||
'Python 2 cannot import the project template because '
|
||||
'django/conf/project_template doesn\'t have an __init__.py file.'
|
||||
)
|
||||
class TestStartProjectSettings(TestCase):
|
||||
def setUp(self):
|
||||
# Ensure settings.py exists
|
||||
|
||||
Reference in New Issue
Block a user