summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-10-12 11:08:05 -0400
committerTim Graham <timograham@gmail.com>2017-10-13 10:11:15 -0400
commit941b0a5b334e043b5fb5ea694d60da0128a8a3b8 (patch)
treef460c799deb63b0ea90876910df9c005be681fa0 /tests/admin_scripts
parentabb636c1af7b2fd00a624985f60b7aff07374580 (diff)
Fixed #28708 -- Added constants to detect the Python version.
Diffstat (limited to 'tests/admin_scripts')
-rw-r--r--tests/admin_scripts/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py
index 096984032f..e56d43c4bc 100644
--- a/tests/admin_scripts/tests.py
+++ b/tests/admin_scripts/tests.py
@@ -26,10 +26,10 @@ from django.db.migrations.recorder import MigrationRecorder
from django.test import (
LiveServerTestCase, SimpleTestCase, TestCase, override_settings,
)
+from django.utils.version import PY36
custom_templates_dir = os.path.join(os.path.dirname(__file__), 'custom_templates')
-PY36 = sys.version_info >= (3, 6)
SYSTEM_CHECK_MSG = 'System check identified no issues'