mirror of
https://github.com/django/django.git
synced 2025-08-13 07:18:26 +00:00
Fixed Python2.6 incompatibility caused by 67c30426c1
.
This commit is contained in:
parent
bdde6f6a03
commit
2a0039ba62
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
from unittest import skipIf
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import pytz
|
import pytz
|
||||||
|
@ -11,6 +10,7 @@ except ImportError:
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from django.test.utils import override_settings
|
from django.test.utils import override_settings
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
from django.utils.unittest import skipIf
|
||||||
|
|
||||||
|
|
||||||
from .models import Article, Comment, Category
|
from .models import Article, Comment, Category
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue