summaryrefslogtreecommitdiff
path: root/tests/syndication_tests/tests.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-28 07:35:27 -0500
committerTim Graham <timograham@gmail.com>2015-02-06 08:16:28 -0500
commit0ed7d155635da9f79d4dd67e4889087d3673c6da (patch)
treecf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/syndication_tests/tests.py
parent388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff)
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/syndication_tests/tests.py')
-rw-r--r--tests/syndication_tests/tests.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/syndication_tests/tests.py b/tests/syndication_tests/tests.py
index 63638fa589..6e08d719d4 100644
--- a/tests/syndication_tests/tests.py
+++ b/tests/syndication_tests/tests.py
@@ -3,21 +3,20 @@ from __future__ import unicode_literals
import datetime
from xml.dom import minidom
-try:
- import pytz
-except ImportError:
- pytz = None
-
from django.contrib.sites.models import Site
from django.contrib.syndication import views
from django.core.exceptions import ImproperlyConfigured
from django.test import TestCase, override_settings
from django.test.utils import requires_tz_support
-from django.utils.feedgenerator import rfc2822_date, rfc3339_date
from django.utils import timezone
+from django.utils.feedgenerator import rfc2822_date, rfc3339_date
from .models import Entry
+try:
+ import pytz
+except ImportError:
+ pytz = None
TZ = timezone.get_default_timezone()