summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-03-28 14:20:15 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-03-28 14:20:15 +0000
commit3bad2ca47304243236fb7f2e36fdadc6e4589a93 (patch)
treebe20d6900a10bbd018195c791f0cd42fe21ffc6b
parente54c0a0c9488ab93c30f1f89c98e5a020a9ec326 (diff)
Fixed #15703 -- Corrected problem in test suite introduced by Python 2.4 changes from r15927. Thanks to mk for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--tests/regressiontests/utils/datastructures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/utils/datastructures.py b/tests/regressiontests/utils/datastructures.py
index 6ae652cdba..3ef1342325 100644
--- a/tests/regressiontests/utils/datastructures.py
+++ b/tests/regressiontests/utils/datastructures.py
@@ -214,7 +214,7 @@ class MultiValueDictTests(DatastructuresTestCase):
['Developer', 'Simon', 'Willison'])
def test_copy(self):
- for copy_func in [copy, lambda d: d.copy()]:
+ for copy_func in [copy.copy, lambda d: d.copy()]:
d1 = MultiValueDict({
"developers": ["Carl", "Fred"]
})