1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed transform unused keyword

This commit is contained in:
priyank.panchal 2024-09-05 11:08:43 +05:30
parent 6ae26ddde1
commit f319e1c517

View File

@ -866,9 +866,7 @@ class BasicExpressionsTests(TestCase):
) )
expected_companies = Company.objects.filter(name="Foobar Ltd.") expected_companies = Company.objects.filter(name="Foobar Ltd.")
self.assertQuerySetEqual( self.assertQuerySetEqual(
custom_subquery.order_by("name"), custom_subquery.order_by("name"), expected_companies.order_by("name")
expected_companies.order_by("name"),
transform=lambda x: x,
) )
def test_aggregate_subquery_annotation(self): def test_aggregate_subquery_annotation(self):