diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2012-10-26 02:45:15 +0100 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2012-10-26 02:47:30 +0100 |
| commit | f6e2a2b21003a44db997bcd2cb85a36108ff7bb0 (patch) | |
| tree | 9780da0c466060ecc831ba880e85028a3a7ab264 /tests | |
| parent | 0efca2a8198f5e7a702c0fbb38be489a6bd23ef5 (diff) | |
[1.5.x] Fixed test failure under Python 2.x introduced in 3e10d22df5
Backport of ee6824ff459e5cba639bd1be70418ac9194945d4 from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/utils/datastructures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/utils/datastructures.py b/tests/regressiontests/utils/datastructures.py index 457ae85801..f65fc5c770 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 # <MultiValueDict: {'position': ['Developer'], # 'name': ['Adrian', 'Simon']}>" - self.assertRaisesRegex(MultiValueDictKeyError, + six.assertRaisesRegex(self, MultiValueDictKeyError, r'"Key \'lastname\' not found in <MultiValueDict', d.__getitem__, 'lastname') |
