

def test_form_with_explicit_timezone(self):
    form = EventForm({
        'dt': '2011-09-01 17:20:30+07:00',
    })
    self.assertFalse(form.is_valid())

dataset/ETHPy150Open django/django/tests/timezones/tests.py NewFormsTests.test_form_with_explicit_timezone/original