Browse files

Merge pull request #1755 from loic/typo

Fixed DeprecationWarning caused by assertEquals.
  • Loading branch information...
2 parents 2af58a2 + 776b647 commit 6138186848d2d03f8f15e4071dd2b10de9753c7f @timgraham timgraham committed Oct 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/select_related/tests.py
View
4 tests/select_related/tests.py
@@ -151,5 +151,5 @@ def test_chaining(self):
queryset = HybridSpecies.objects.select_related('parent_1').select_related('parent_2')
with self.assertNumQueries(1):
obj = queryset[0]
- self.assertEquals(obj.parent_1, parent_1)
- self.assertEquals(obj.parent_2, parent_2)
+ self.assertEqual(obj.parent_1, parent_1)
+ self.assertEqual(obj.parent_2, parent_2)

0 comments on commit 6138186

Please sign in to comment.