From 3bad2ca47304243236fb7f2e36fdadc6e4589a93 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 28 Mar 2011 14:20:15 +0000 Subject: [PATCH] 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 --- tests/regressiontests/utils/datastructures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"] })