                  Session.objects.annotate(dt=Min('events__dt')).order_by('dt'),
                  [morning_min_dt, afternoon_min_dt],
                  transform=lambda d: d.dt)
          self.assertQuerysetEqual(
                  Session.objects.annotate(dt=Min('events__dt')).filter(dt__lt=afternoon_min_dt),
                  [morning_min_dt],
                  transform=lambda d: d.dt)
          self.assertQuerysetEqual(
                  Session.objects.annotate(dt=Min('events__dt')).filter(dt__gte=afternoon_min_dt),
                  [afternoon_min_dt],
                  transform=lambda d: d.dt)
  
 
</s>
            Session.objects.annotate(dt=Min('events__dt')).filter(dt__lt=afternoon_min_dt),
            [morning_min_dt],
            transform=lambda d: d.dt)
                  Session.objects.annotate(dt=Min('events__dt')).order_by('dt'),
                  [morning_min_dt, afternoon_min_dt],
                  transform=lambda d: d.dt)
          self.assertQuerysetEqual(
            Session.objects.annotate(dt=Min('events__dt')).filter(dt__lt=afternoon_min_dt),
            [morning_min_dt],
            transform=lambda d: d.dt)
            Session.objects.annotate(dt=Min('events__dt')).filter(dt__lt=afternoon_min_dt),
            [morning_min_dt],
            transform=lambda d: d.dt)
            Session.objects.annotate(dt=Min('events__dt')).filter(dt__lt=afternoon_min_dt),
            [morning_min_dt],
            transform=lambda d: d.dt)
          self.assertQuerysetEqual(
                  Session.objects.annotate(dt=Min('events__dt')).filter(dt__gte=afternoon_min_dt),
                  [afternoon_min_dt],
                  transform=lambda d: d.dt)
  
keep keep keep keep replace replace replace keep keep keep keep keep
 Fixed #21288 -- Fixed E126 pep8 warnings
tests/timezones/tests.py