From 2a0039ba62e35714a4b7bf6dc4f243e8f2c40a24 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Fri, 15 Nov 2013 00:24:11 +0100 Subject: [PATCH] Fixed Python2.6 incompatibility caused by 67c30426c1370f5d6c39bd73888c3902c1c5f365. --- tests/datetimes/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/datetimes/tests.py b/tests/datetimes/tests.py index 64b934ed41c..a525409b949 100644 --- a/tests/datetimes/tests.py +++ b/tests/datetimes/tests.py @@ -1,7 +1,6 @@ from __future__ import absolute_import import datetime -from unittest import skipIf try: import pytz @@ -11,6 +10,7 @@ except ImportError: from django.test import TestCase from django.test.utils import override_settings from django.utils import timezone +from django.utils.unittest import skipIf from .models import Article, Comment, Category