From 62b83889e066b8270854f7560e0498944efd7689 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 21 Jul 2023 14:18:24 -0500 Subject: [PATCH] Fixed #34731, Refs #34118 -- Replaced assertEquals() with assertEqual() in test_condition_with_func_and_lookup_outside_relation_name(). Signed-off-by: Michel Alexandre Salim --- tests/filtered_relation/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/filtered_relation/tests.py b/tests/filtered_relation/tests.py index f74e3978f9..f9735ca371 100644 --- a/tests/filtered_relation/tests.py +++ b/tests/filtered_relation/tests.py @@ -649,7 +649,7 @@ class FilteredRelationTests(TestCase): ), ), ).filter(book_editor__isnull=False) - self.assertEquals(qs.count(), 1) + self.assertEqual(qs.count(), 1) def test_condition_deeper_relation_name(self): msg = (