diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-05-09 13:54:53 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-05-09 13:54:53 +0000 |
| commit | aca8a88976a08fbc51b7be118a5d83b102bcb89b (patch) | |
| tree | e6914a17b3fa87e6dda23100bc146fd1d7b56d12 /test | |
| parent | 0903f2bef8ed90abd7e4093b6399c43eef7552d8 (diff) | |
| parent | e70e8a7f89f9b50d8f1e3161c44bbfcf64e8b9f3 (diff) | |
| download | sqlalchemy-aca8a88976a08fbc51b7be118a5d83b102bcb89b.tar.gz | |
Merge "Expand CTE testing and begin to make this more prominent."
Diffstat (limited to 'test')
| -rw-r--r-- | test/requirements.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/test/requirements.py b/test/requirements.py index cf9168f5a..0b34d98a5 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -585,18 +585,24 @@ class DefaultRequirements(SuiteRequirements): @property def ctes(self): """Target database supports CTEs""" - return only_on( [ lambda config: against(config, "mysql") and ( - config.db.dialect._is_mariadb - and config.db.dialect._mariadb_normalized_version_info - >= (10, 2) + ( + config.db.dialect._is_mariadb + and config.db.dialect._mariadb_normalized_version_info + >= (10, 2) + ) + or ( + not config.db.dialect._is_mariadb + and config.db.dialect.server_version_info >= (8,) + ) ), "postgresql", "mssql", "oracle", + "sqlite>=3.8.3", ] ) |
