  
  from django.core.exceptions import FieldDoesNotExist, FieldError
  from django.db.models import (
      BooleanField, CharField, Count, DateTimeField, ExpressionWrapper, F, Func,
      IntegerField, Q, Sum, Value,
  )
  from django.db.models.functions import Lower
  from django.test import TestCase, skipUnlessDBFeature
  from django.utils import six
  
 
</s>
    IntegerField, NullBooleanField, Q, Sum, Value,
  
  from django.core.exceptions import FieldDoesNotExist, FieldError
  from django.db.models import (
      BooleanField, CharField, Count, DateTimeField, ExpressionWrapper, F, Func,
    IntegerField, NullBooleanField, Q, Sum, Value,
  )
  from django.db.models.functions import Lower
  from django.test import TestCase, skipUnlessDBFeature
  from django.utils import six
  
keep keep keep keep replace keep keep keep keep keep
 Fixed #27481 -- Made SQLite return annotated boolean values as boolean, not integer.

Thanks Simon Charette for review.
tests/annotations/tests.py