summaryrefslogtreecommitdiff
path: root/tests/project_template
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-06-15 09:43:35 -0400
committerTim Graham <timograham@gmail.com>2015-06-18 08:36:50 -0400
commit7f1168e387dc1db70b6093cfd23a4a6978f48109 (patch)
treec3a9f335536fa078d39ad43458feaeac990e3538 /tests/project_template
parente5cb4e14118f3a508e3bc00ee7cd50bb0f18a61d (diff)
downloaddjango-7f1168e387dc1db70b6093cfd23a4a6978f48109.tar.gz
Removed support for Python 3.3.
Diffstat (limited to 'tests/project_template')
-rw-r--r--tests/project_template/test_settings.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/project_template/test_settings.py b/tests/project_template/test_settings.py
index 8998a844c7..ac115f7dc2 100644
--- a/tests/project_template/test_settings.py
+++ b/tests/project_template/test_settings.py
@@ -1,11 +1,11 @@
-import sys
import unittest
from django.test import TestCase
+from django.utils import six
-@unittest.skipIf(sys.version_info < (3, 3),
- 'Python < 3.3 cannot import the project template because '
+@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):