diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-02 14:23:14 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-02 14:23:14 -0500 |
commit | 4b923d37bdfdb44d9a3e74aed08e2726e14c3b19 (patch) | |
tree | b0abe04a3bf3804edc20bdaeb0bbec32fc522336 /test/requirements.py | |
parent | f00657fa8a3a484d3a9207c67c0a1d20ab8313bb (diff) | |
download | sqlalchemy-4b923d37bdfdb44d9a3e74aed08e2726e14c3b19.tar.gz |
- support addition of fails_if()/only_on(), just wraps the decorators
- update a few exclusions to support current pymssql. passes all of test_suite and dialect/mssql
Diffstat (limited to 'test/requirements.py')
-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 d26eb86cb..29b7d9997 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -401,7 +401,7 @@ class DefaultRequirements(SuiteRequirements): return fails_on_everything_except('mysql+mysqldb', 'mysql+oursql', 'sqlite+pysqlite', 'mysql+pymysql', 'mysql+cymysql', - 'sybase', 'mssql+pyodbc', 'mssql+mxodbc') + 'sybase', 'mssql') @property def implements_get_lastrowid(self): @@ -415,7 +415,8 @@ class DefaultRequirements(SuiteRequirements): cursor object. """ - return fails_on_everything_except('mysql+mysqldb', 'mysql+oursql', + return skip_if('mssql+pymssql', 'crashes on pymssql') + \ + fails_on_everything_except('mysql+mysqldb', 'mysql+oursql', 'sqlite+pysqlite', 'mysql+pymysql', 'mysql+cymysql') @@ -502,13 +503,14 @@ class DefaultRequirements(SuiteRequirements): def precision_numerics_general(self): """target backend has general support for moderately high-precision numerics.""" - return fails_if('mssql+pymssql', 'FIXME: improve pymssql dec handling') + return exclusions.open() @property def precision_numerics_enotation_small(self): """target backend supports Decimal() objects using E notation to represent very small values.""" - return fails_if('mssql+pymssql', 'FIXME: improve pymssql dec handling') + # NOTE: this exclusion isn't used in current tests. + return exclusions.open() @property def precision_numerics_enotation_large(self): @@ -574,6 +576,10 @@ class DefaultRequirements(SuiteRequirements): ('mssql+pyodbc', None, None, 'mssql+pyodbc has FP inaccuracy even with ' 'only four decimal places ' + ), + ('mssql+pymssql', None, None, + 'mssql+pymssql has FP inaccuracy even with ' + 'only four decimal places ' ) ]) |