              "Variance(F(a), filter=(AND: ('a', 1)), sample=True)"
          )
  
  
  class CombinableTests(SimpleTestCase):
      bitwise_msg = 'Use .bitand() and .bitor() for bitwise logical operations.'
  
 
</s> remove         self.assertEqual(repr(Count('a', filter=filter)), "Count(F(a), distinct=False, filter=(AND: ('a', 1)))")
 </s> add         self.assertEqual(repr(Count('a', filter=filter)), "Count(F(a), filter=(AND: ('a', 1)))")
        self.assertEqual(
            repr(Count('a', filter=filter, distinct=True)), "Count(F(a), distinct=True, filter=(AND: ('a', 1)))"
        )
              "Variance(F(a), filter=(AND: ('a', 1)), sample=True)"
          )
        self.assertEqual(
            repr(Count('a', filter=filter, distinct=True)), "Count(F(a), distinct=True, filter=(AND: ('a', 1)))"
        )
  
  
  class CombinableTests(SimpleTestCase):
      bitwise_msg = 'Use .bitand() and .bitor() for bitwise logical operations.'
  
keep add keep keep keep keep keep
 Fixed #28658 -- Added DISTINCT handling to the Aggregate class. 
tests/expressions/tests.py