From 3de4f8bab6509586d9e7283ea33f51d4729c8a13 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 2 Jul 2014 10:11:52 -0400 Subject: [PATCH] assertEquals -> assertEqual --- tests/basic/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/basic/tests.py b/tests/basic/tests.py index ae1e799bc4..356551cc52 100644 --- a/tests/basic/tests.py +++ b/tests/basic/tests.py @@ -25,12 +25,12 @@ class ModelInstanceCreationTests(TestCase): pub_date=datetime(2005, 7, 28), ) self.assertIsNone(a.id) - self.assertEquals(Article.objects.all().count(), 0) + self.assertEqual(Article.objects.all().count(), 0) # Save it into the database. You have to call save() explicitly. a.save() self.assertIsNotNone(a.id) - self.assertEquals(Article.objects.all().count(), 1) + self.assertEqual(Article.objects.all().count(), 1) def test_can_initialize_model_instance_using_positional_arguments(self): """