From f319e1c5178e754f0a49239b36d5328fbabaf787 Mon Sep 17 00:00:00 2001 From: "priyank.panchal" Date: Thu, 5 Sep 2024 11:08:43 +0530 Subject: [PATCH] Fixed transform unused keyword --- tests/expressions/tests.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py index 8d5724089c..6343a2bab0 100644 --- a/tests/expressions/tests.py +++ b/tests/expressions/tests.py @@ -866,9 +866,7 @@ class BasicExpressionsTests(TestCase): ) expected_companies = Company.objects.filter(name="Foobar Ltd.") self.assertQuerySetEqual( - custom_subquery.order_by("name"), - expected_companies.order_by("name"), - transform=lambda x: x, + custom_subquery.order_by("name"), expected_companies.order_by("name") ) def test_aggregate_subquery_annotation(self):