1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +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.")
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):