Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.5.x] Fixed test failure under Python 2.x introduced in 3e10d22

Backport of ee6824f from master
  • Loading branch information...
commit f6e2a2b21003a44db997bcd2cb85a36108ff7bb0 1 parent 0efca2a
Luke Plant authored October 26, 2012
2  tests/regressiontests/utils/datastructures.py
@@ -222,7 +222,7 @@ def test_multivaluedict(self):
222 222
         # MultiValueDictKeyError: "Key 'lastname' not found in
223 223
         # <MultiValueDict: {'position': ['Developer'],
224 224
         #                   'name': ['Adrian', 'Simon']}>"
225  
-        self.assertRaisesRegex(MultiValueDictKeyError,
  225
+        six.assertRaisesRegex(self, MultiValueDictKeyError,
226 226
             r'"Key \'lastname\' not found in <MultiValueDict',
227 227
             d.__getitem__, 'lastname')
228 228
 

0 notes on commit f6e2a2b

Please sign in to comment.
Something went wrong with that request. Please try again.