summaryrefslogtreecommitdiff
path: root/tests/regressiontests/utils
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2009-12-17 22:06:41 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2009-12-17 22:06:41 +0000
commit574eafe4c08c4a63876e199e0f2657868c8d0718 (patch)
treee5c22d5015aa9b37e7a09b8d87ab69e9fde68f0b /tests/regressiontests/utils
parent3bd849062c57d297f3b6f7cb12e4644ce19c52f8 (diff)
Fixed #11753 - Q objects with callables no longer explode on Python 2.4. Thanks, Jeremy Dunck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/utils')
-rw-r--r--tests/regressiontests/utils/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/utils/tests.py b/tests/regressiontests/utils/tests.py
index a7a6e4c3a1..6258b81200 100644
--- a/tests/regressiontests/utils/tests.py
+++ b/tests/regressiontests/utils/tests.py
@@ -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.