mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Replaced deprecated assertEquals() with assertEqual().
This commit is contained in:
parent
1711c509fa
commit
2f72480fbd
@ -40,8 +40,8 @@ class TestCharField(TestCase):
|
||||
self.assertEqual(p1.title, Event.C)
|
||||
self.assertEqual(p1.body, Event.F)
|
||||
p2 = Post.objects.get(title='Carnival!')
|
||||
self.assertEquals(p1, p2)
|
||||
self.assertEquals(p2.title, Event.C)
|
||||
self.assertEqual(p1, p2)
|
||||
self.assertEqual(p2.title, Event.C)
|
||||
|
||||
|
||||
class ValidationTests(SimpleTestCase):
|
||||
|
Loading…
Reference in New Issue
Block a user