summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2013-11-15 00:24:11 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2013-11-15 00:24:11 +0100
commit2a0039ba62e35714a4b7bf6dc4f243e8f2c40a24 (patch)
tree28bfa132cee969d172394d2194a713e8fee4bf9f
parentbdde6f6a03b9f1e13c8b13133dabd633346c9946 (diff)
Fixed Python2.6 incompatibility caused by 67c30426c1370f5d6c39bd73888c3902c1c5f365.
-rw-r--r--tests/datetimes/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/datetimes/tests.py b/tests/datetimes/tests.py
index 64b934ed41..a525409b94 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