mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed test failure under Python 2.x introduced in 3e10d22df5
				
					
				
			This commit is contained in:
		| @@ -222,7 +222,7 @@ class MultiValueDictTests(SimpleTestCase): | |||||||
|         # MultiValueDictKeyError: "Key 'lastname' not found in |         # MultiValueDictKeyError: "Key 'lastname' not found in | ||||||
|         # <MultiValueDict: {'position': ['Developer'], |         # <MultiValueDict: {'position': ['Developer'], | ||||||
|         #                   'name': ['Adrian', 'Simon']}>" |         #                   'name': ['Adrian', 'Simon']}>" | ||||||
|         self.assertRaisesRegex(MultiValueDictKeyError, |         six.assertRaisesRegex(self, MultiValueDictKeyError, | ||||||
|             r'"Key \'lastname\' not found in <MultiValueDict', |             r'"Key \'lastname\' not found in <MultiValueDict', | ||||||
|             d.__getitem__, 'lastname') |             d.__getitem__, 'lastname') | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user