Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1755 from loic/typo

Fixed DeprecationWarning caused by assertEquals.
  • Loading branch information...
commit 6138186848d2d03f8f15e4071dd2b10de9753c7f 2 parents 2af58a2 + 776b647
@timgraham timgraham authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.