

@requires_tz_support
def test_filter_date_field_with_aware_datetime(self):
    day = datetime.date(2011, 9, 1)
    AllDayEvent.objects.create(day=dt)
    dt = datetime.datetime(2011, 9, 1, 22, 30, 0, tzinfo=UTC)
    self.assertFalse(AllDayEvent.objects.filter(day__gte=dt).exists())

dataset/ETHPy150Open django/django/tests/timezones/tests.py NewDatabaseTests.test_filter_date_field_with_aware_datetime/VarMisuse@34/46 `day`->`dt`