diff --git a/tests/regressiontests/model_regress/models.py b/tests/regressiontests/model_regress/models.py index 8d40c425ca4..668acd830a6 100644 --- a/tests/regressiontests/model_regress/models.py +++ b/tests/regressiontests/model_regress/models.py @@ -149,8 +149,8 @@ datetime.datetime(2000, 1, 1, 6, 1, 1) """} -if settings.DATABASE_ENGINE != "mysql": - __test__["non-mysql-tests"] = """ +if settings.DATABASE_ENGINE not in ("mysql", "oracle"): + __test__["timezone-tests"] = """ # Saving an updating with timezone-aware datetime Python objects. Regression # test for #10443.