diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-09 13:19:34 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-09 14:24:06 -0500 |
| commit | a8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch) | |
| tree | 94ef5bc53e59131906aecfcf792eeac86242aa62 /tests/template_tests/tests.py | |
| parent | eb406aa686ff1809903366ef6896037af2f1f69b (diff) | |
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'tests/template_tests/tests.py')
| -rw-r--r-- | tests/template_tests/tests.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py index 8b93039dca..c57c3d1479 100644 --- a/tests/template_tests/tests.py +++ b/tests/template_tests/tests.py @@ -8,15 +8,18 @@ import unittest from django import template from django.contrib.auth.models import Group from django.core import urlresolvers -from django.template import (base as template_base, loader, - Context, RequestContext, Template, TemplateSyntaxError) +from django.template import ( + Context, RequestContext, Template, TemplateSyntaxError, + base as template_base, loader, +) from django.template.engine import Engine from django.template.loaders import app_directories, filesystem from django.test import RequestFactory, SimpleTestCase -from django.test.utils import extend_sys_path, ignore_warnings, override_settings -from django.utils.deprecation import RemovedInDjango20Warning +from django.test.utils import ( + extend_sys_path, ignore_warnings, override_settings, +) from django.utils._os import upath - +from django.utils.deprecation import RemovedInDjango20Warning TESTS_DIR = os.path.dirname(os.path.dirname(os.path.abspath(upath(__file__)))) |
