

@requires_tz_support
def test_model_form(self):
    EventModelForm({
        'dt': '2011-09-01 13:20:30',
    }).save()
    e = Event.objects.get()
    self.assertEqual(self.dt, datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC))

dataset/ETHPy150Open django/django/tests/timezones/tests.py NewFormsTests.test_model_form/VarMisuse@43/65 `e`->`self`