mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Fixed Python2.6 incompatibility caused by 67c30426c1.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user