[1.1.X] Added Pyton 2.3 compatibility import for use of set by some new tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
eca89ea9be
commit
ee2b07c7fc
@ -1,4 +1,8 @@
|
|||||||
import unittest
|
import unittest
|
||||||
|
try:
|
||||||
|
set
|
||||||
|
except NameError:
|
||||||
|
from sets import Set as set
|
||||||
|
|
||||||
from django.db import DatabaseError, connection
|
from django.db import DatabaseError, connection
|
||||||
from django.db.models import Count
|
from django.db.models import Count
|
||||||
|
Loading…
x
Reference in New Issue
Block a user