

@skipIfDBFeature('supports_timezones')
def test_aware_datetime_unsupported(self):
    dt = datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT)
    with dt.assertRaises(ValueError):
        Event.objects.create(dt=dt)

dataset/ETHPy150Open django/django/tests/timezones/tests.py LegacyDatabaseTests.test_aware_datetime_unsupported/VarMisuse@40/56 `self`->`dt`