[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:
Karen Tracey 2010-04-12 21:11:56 +00:00
parent eca89ea9be
commit ee2b07c7fc
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
import unittest
try:
set
except NameError:
from sets import Set as set
from django.db import DatabaseError, connection
from django.db.models import Count