From fabe9c9e5f0a437b5389faaf469ce53091abd3cf Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Fri, 26 Oct 2012 02:45:15 +0100 Subject: [PATCH] Fixed test failure under Python 2.x introduced in 3e10d22df5 --- 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 457ae858011..f65fc5c7702 100644 --- a/tests/regressiontests/utils/datastructures.py +++ b/tests/regressiontests/utils/datastructures.py @@ -222,7 +222,7 @@ class MultiValueDictTests(SimpleTestCase): # MultiValueDictKeyError: "Key 'lastname' not found in # " - self.assertRaisesRegex(MultiValueDictKeyError, + six.assertRaisesRegex(self, MultiValueDictKeyError, r'"Key \'lastname\' not found in