

def test_changelist_in_other_timezone(self):
    e = Event.objects.create(dt=datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC))
    with timezone.override(ICT):
        response = self.client.get(reverse('admin_tz:timezones_event_changelist'))
    e.assertContains(response, e.dt.astimezone(ICT).isoformat())

dataset/ETHPy150Open django/django/tests/timezones/tests.py AdminTests.test_changelist_in_other_timezone/VarMisuse@67/87 `self`->`e`