From d6b6e5d0fd4e6b6d0183b4cf6e4bd4f9afc7bf67 Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Mon, 13 Mar 2023 15:03:28 +0100 Subject: Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list() on compound queries. Co-authored-by: Matthias Kestenholz --- tests/postgres_tests/test_array.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/postgres_tests') diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py index f7615c974e..5f8441ba1b 100644 --- a/tests/postgres_tests/test_array.py +++ b/tests/postgres_tests/test_array.py @@ -466,8 +466,8 @@ class TestQuerying(PostgreSQLTestCase): ], ) sql = ctx[0]["sql"] - self.assertIn("GROUP BY 1", sql) - self.assertIn("ORDER BY 1", sql) + self.assertIn("GROUP BY 2", sql) + self.assertIn("ORDER BY 2", sql) def test_index(self): self.assertSequenceEqual( -- cgit v1.3