mirror of https://github.com/django/django.git
Fixed Python2.6 incompatibility caused by 67c30426c1
.
This commit is contained in:
parent
bdde6f6a03
commit
2a0039ba62
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue