mirror of https://github.com/django/django.git
Refs #34381, Refs #10929 -- Fixed postgres_tests.test_aggregates.TestGeneralAggretate.test_empty_result_set() on PostgreSQL 14+.
Follow up to 0be8095b25
.
This commit is contained in:
parent
a4205076a5
commit
b05dfc2894
|
@ -98,7 +98,7 @@ class TestGeneralAggregate(PostgreSQLTestCase):
|
||||||
StringAgg("char_field", delimiter=";"),
|
StringAgg("char_field", delimiter=";"),
|
||||||
]
|
]
|
||||||
if connection.features.has_bit_xor:
|
if connection.features.has_bit_xor:
|
||||||
tests.append((BitXor("integer_field"), None))
|
tests.append(BitXor("integer_field"))
|
||||||
for aggregation in tests:
|
for aggregation in tests:
|
||||||
with self.subTest(aggregation=aggregation):
|
with self.subTest(aggregation=aggregation):
|
||||||
# Empty result with non-execution optimization.
|
# Empty result with non-execution optimization.
|
||||||
|
|
Loading…
Reference in New Issue