From 6b4f018b2b3478d2a4a441ed52d43f6268ac89f3 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 17 Mar 2017 07:51:48 -0400 Subject: Replaced type-specific assertions with assertEqual(). Python docs say, "it's usually not necessary to invoke these methods directly." --- tests/forms_tests/tests/test_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/forms_tests') diff --git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py index 6cf781c50f..df6518b933 100644 --- a/tests/forms_tests/tests/test_forms.py +++ b/tests/forms_tests/tests/test_forms.py @@ -255,7 +255,7 @@ class FormsTestCase(SimpleTestCase): self.assertEqual(p.errors['first_name'], ['This field is required.']) self.assertEqual(p.errors['birthday'], ['This field is required.']) self.assertFalse(p.is_valid()) - self.assertDictEqual( + self.assertEqual( p.errors, {'birthday': ['This field is required.'], 'first_name': ['This field is required.']} ) -- cgit v1.3