diff options
Diffstat (limited to 'test/requirements.py')
| -rw-r--r-- | test/requirements.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/test/requirements.py b/test/requirements.py index 42a24c3a9..fd093f270 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -373,6 +373,10 @@ class DefaultRequirements(SuiteRequirements): return only_if([self.returning, self.sqlite]) @property + def computed_columns_on_update_returning(self): + return self.computed_columns + skip_if("oracle") + + @property def correlated_outer_joins(self): """Target must support an outer join to a subquery which correlates to the parent.""" @@ -774,8 +778,9 @@ class DefaultRequirements(SuiteRequirements): @property def nullsordering(self): """Target backends that support nulls ordering.""" - return fails_on_everything_except("postgresql", "oracle", "firebird", - "sqlite >= 3.30.0") + return fails_on_everything_except( + "postgresql", "oracle", "firebird", "sqlite >= 3.30.0" + ) @property def reflects_pk_names(self): @@ -1439,3 +1444,7 @@ class DefaultRequirements(SuiteRequirements): lambda config: against(config, "oracle+cx_oracle") and config.db.dialect.cx_oracle_ver < (6,) ) + + @property + def computed_columns(self): + return skip_if(["postgresql < 12", "sqlite", "mysql < 5.7"]) |
