1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

[1.1.X] Fixed #11753 - Q objects with callables no longer explode on Python 2.4. Thanks, Jeremy Dunck.

Backport of [11901].

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss
2009-12-17 22:11:39 +00:00
parent de2c7d9fdd
commit 321fe61f64
24 changed files with 48 additions and 53 deletions

View File

@@ -220,7 +220,7 @@ class TestUtilsSimpleLazyObject(TestCase):
self.assertEqual(_ComplexObject, SimpleLazyObject(complex_object).__class__)
def test_deepcopy(self):
import copy
import django.utils.copycompat as copy
# Check that we *can* do deep copy, and that it returns the right
# objects.