'Regression test for #8354: the MySQL and Oracle backends should raise
an error if given a timezone-aware datetime object.'

@skipIfDBFeature('supports_timezones')
def test_error_on_timezone(self):

    dt = datetime.datetime(2008, 8, 31, 16, 20, tzinfo=utc)
    d = Donut(name='Bear    claw', consumed_at=dt)
    with self.assertRaises(ValueError):
        d.save()
