summaryrefslogtreecommitdiff
path: root/tests/datetimes
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-02-09 13:19:34 -0500
committerTim Graham <timograham@gmail.com>2015-02-09 14:24:06 -0500
commita8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch)
tree94ef5bc53e59131906aecfcf792eeac86242aa62 /tests/datetimes
parenteb406aa686ff1809903366ef6896037af2f1f69b (diff)
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'tests/datetimes')
-rw-r--r--tests/datetimes/tests.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/datetimes/tests.py b/tests/datetimes/tests.py
index 776f6ecc33..447cbef99a 100644
--- a/tests/datetimes/tests.py
+++ b/tests/datetimes/tests.py
@@ -3,16 +3,15 @@ from __future__ import unicode_literals
import datetime
from unittest import skipIf
-try:
- import pytz
-except ImportError:
- pytz = None
-
from django.test import TestCase, override_settings
from django.utils import timezone
+from .models import Article, Category, Comment
-from .models import Article, Comment, Category
+try:
+ import pytz
+except ImportError:
+ pytz = None
class DateTimesTests(TestCase):