From a8b70d251d238b4e6cfc7bb4296da15494f8dff3 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 9 Feb 2015 13:19:34 -0500 Subject: [1.8.x] Sorted imports with isort; refs #23860. Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master --- tests/datetimes/tests.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/datetimes') 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): -- cgit v1.3