  from django.db.models.fields.json import KeyTextTransform, KeyTransform
  from django.db.models.functions import Cast, Concat, Substr
  from django.test.utils import Approximate, ignore_warnings
  from django.utils import timezone
  from django.utils.deprecation import RemovedInDjango50Warning
  
  from . import PostgreSQLTestCase
  from .models import AggregateTestModel, HotelReservation, Room, StatTestModel
 
</s> remove         ArrayAgg, BitAnd, BitOr, BoolAnd, BoolOr, Corr, CovarPop, JSONBAgg,
        RegrAvgX, RegrAvgY, RegrCount, RegrIntercept, RegrR2, RegrSlope,
        RegrSXX, RegrSXY, RegrSYY, StatAggregate, StringAgg,
 </s> add         ArrayAgg, BitAnd, BitOr, BitXor, BoolAnd, BoolOr, Corr, CovarPop,
        JSONBAgg, RegrAvgX, RegrAvgY, RegrCount, RegrIntercept, RegrR2,
        RegrSlope, RegrSXX, RegrSXY, RegrSYY, StatAggregate, StringAgg, </s> remove     'ArrayAgg', 'BitAnd', 'BitOr', 'BoolAnd', 'BoolOr', 'JSONBAgg', 'StringAgg',
 </s> add     'ArrayAgg', 'BitAnd', 'BitOr', 'BitXor', 'BoolAnd', 'BoolOr', 'JSONBAgg',
    'StringAgg', </s> remove * ...
 </s> add * The new :class:`BitXor() <django.contrib.postgres.aggregates.BitXor>`
  aggregate function returns an ``int`` of the bitwise ``XOR`` of all non-null
  input values.
from django.test import skipUnlessDBFeature
  from django.db.models.fields.json import KeyTextTransform, KeyTransform
  from django.db.models.functions import Cast, Concat, Substr
from django.test import skipUnlessDBFeature
  from django.test.utils import Approximate, ignore_warnings
  from django.utils import timezone
  from django.utils.deprecation import RemovedInDjango50Warning
  
  from . import PostgreSQLTestCase
  from .models import AggregateTestModel, HotelReservation, Room, StatTestModel
keep add keep keep keep keep keep keep
 Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres. 
tests/postgres_tests/test_aggregates.py