diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-08-18 13:02:58 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-08-18 13:30:21 -0400 |
| commit | b653fedca5f0fc384c990e93d82c0780c9e76f2c (patch) | |
| tree | 1db38099654d19d3e528853035a1c33aa487e29d /test/requirements.py | |
| parent | 3f8f1f16bd9e284afee910a6036fcb0958a6c0c2 (diff) | |
| download | sqlalchemy-b653fedca5f0fc384c990e93d82c0780c9e76f2c.tar.gz | |
- fix the postgresql_jsonb requirement to include the 9.4 requirement
- new test for json col['x']['y']['z'] seems to fail pre PG 9.4,
fails on comparisons for non-compatible data instead of not matching
- no need to call SpecPredicate(db) directly in exclusion functions,
by using Predicate.as_predicate() the spec strings can have version
comparisons
Diffstat (limited to 'test/requirements.py')
| -rw-r--r-- | test/requirements.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/requirements.py b/test/requirements.py index 56e197cb2..c25b409d7 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -784,7 +784,7 @@ class DefaultRequirements(SuiteRequirements): @property def postgresql_jsonb(self): - return skip_if( + return only_on("postgresql >= 9.4") + skip_if( lambda config: config.db.dialect.driver == "pg8000" and config.db.dialect._dbapi_version <= (1, 10, 1) |
