summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorDavid Smith <39445562+smithdc1@users.noreply.github.com>2023-03-05 18:06:21 +0000
committerGitHub <noreply@github.com>2023-03-05 19:06:21 +0100
commitb05dfc289429dc4de990617da543af681d6638c7 (patch)
tree3616a04adb56a6c532d22b57e8af88972ae91304 /tests/postgres_tests
parenta4205076a59a2747b82bd0fcffcc9f1aa02019f4 (diff)
downloaddjango-b05dfc289429dc4de990617da543af681d6638c7.tar.gz
Refs #34381, Refs #10929 -- Fixed postgres_tests.test_aggregates.TestGeneralAggretate.test_empty_result_set() on PostgreSQL 14+.
Follow up to 0be8095b254fad65b2480d677ebe6098c41bbad6.
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/test_aggregates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postgres_tests/test_aggregates.py b/tests/postgres_tests/test_aggregates.py
index 902135b18c..bb694dae63 100644
--- a/tests/postgres_tests/test_aggregates.py
+++ b/tests/postgres_tests/test_aggregates.py
@@ -98,7 +98,7 @@ class TestGeneralAggregate(PostgreSQLTestCase):
StringAgg("char_field", delimiter=";"),
]
if connection.features.has_bit_xor:
- tests.append((BitXor("integer_field"), None))
+ tests.append(BitXor("integer_field"))
for aggregation in tests:
with self.subTest(aggregation=aggregation):
# Empty result with non-execution optimization.