Skip to content
Browse files

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

Backport of ee6824ff459e5cba639bd1be70418ac9194945d4 from master
  • Loading branch information...
1 parent 0efca2a commit f6e2a2b21003a44db997bcd2cb85a36108ff7bb0 @spookylukey spookylukey committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/utils/
2 tests/regressiontests/utils/
@@ -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 f6e2a2b

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