@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)
        self.assertRaises(ValueError, d.save)
        # ValueError: MySQL backend does not support timezone-aware datetimes.
Regression test for #8354: the MySQL and Oracle backends should raise
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/datatypes/tests.py/DataTypesTestCase.test_error_on_timezone