Commit fabe9c9e authored by Luke Plant's avatar Luke Plant
Browse files

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

parent 3e10d22d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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')