Browse files

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

  • Loading branch information...
1 parent 3e10d22 commit fabe9c9e5f0a437b5389faaf469ce53091abd3cf @spookylukey spookylukey committed Oct 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/utils/datastructures.py
View
2 tests/regressiontests/utils/datastructures.py
@@ -222,7 +222,7 @@ def test_multivaluedict(self):
# MultiValueDictKeyError: "Key 'lastname' not found in
# <MultiValueDict: {'position': ['Developer'],
# 'name': ['Adrian', 'Simon']}>"
- self.assertRaisesRegex(MultiValueDictKeyError,
+ six.assertRaisesRegex(self, MultiValueDictKeyError,
r'"Key \'lastname\' not found in <MultiValueDict',
d.__getitem__, 'lastname')

0 comments on commit fabe9c9

Please sign in to comment.