Skip to content
Browse files

Fixed DeprecationWarning caused by assertEquals.

  • Loading branch information...
1 parent 2af58a2 commit 776b6470c10bdcf1302fa95c2e81be2b11bb2fdc @loic loic committed
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 776b647

Please sign in to comment.
Something went wrong with that request. Please try again.