Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Backport of ee6824ff459e5cba639bd1be70418ac9194945d4 from master
  • Loading branch information...
commit f6e2a2b21003a44db997bcd2cb85a36108ff7bb0 1 parent 0efca2a
Luke Plant spookylukey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/utils/datastructures.py
2  tests/regressiontests/utils/datastructures.py
View
@@ -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')
Please sign in to comment.
Something went wrong with that request. Please try again.