summaryrefslogtreecommitdiff
path: root/tests/datetimes/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/datetimes/tests.py')
-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):