mirror of
https://github.com/django/django.git
synced 2025-04-13 03:52:20 +00:00
Fixed Python2.6 incompatibility caused by 67c30426c1370f5d6c39bd73888c3902c1c5f365.
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…
x
Reference in New Issue
Block a user