Browse files

[1.1.X] Added Pyton 2.3 compatibility import for use of set by some n…

…ew tests.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent eca89ea commit ee2b07c7fcf0b7e67029b2f04fe18e369eecf98a @kmtracey kmtracey committed Apr 12, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/regressiontests/queries/tests.py
View
4 tests/regressiontests/queries/tests.py
@@ -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

0 comments on commit ee2b07c

Please sign in to comment.