

@requires_tz_support
def test_split_form(self):
    form = EventSplitForm({
        'dt_0': '2011-09-01',
        'dt_1': '13:20:30',
    })
    self.assertTrue(form.is_valid())
    self.assertEqual(self.cleaned_data['dt'], datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC))

dataset/ETHPy150Open django/django/tests/timezones/tests.py NewFormsTests.test_split_form/VarMisuse@47/77 `form`->`self`