diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-27 13:16:48 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-27 13:16:48 -0500 |
commit | 4798fd947f479081e108360e427aed9f18f860eb (patch) | |
tree | d89037209daf9b29475062fda4be86ec2539de2a /test/requirements.py | |
parent | 0cba61d150b84646f8da02cff66e25e9542f92a6 (diff) | |
download | sqlalchemy-4798fd947f479081e108360e427aed9f18f860eb.tar.gz |
- The "asdecimal" flag used with the :class:`.Float` type will now
work with Firebird dialects; previously the decimal conversion was
not occurring.
- scale back some firebird FP numeric tests
Diffstat (limited to 'test/requirements.py')
-rw-r--r-- | test/requirements.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/test/requirements.py b/test/requirements.py index f7b53d8df..b90591a80 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -557,11 +557,21 @@ class DefaultRequirements(SuiteRequirements): """target backend will return native floating point numbers with at least seven decimal places when using the generic Float type.""" - return fails_if('mysql', 'mysql FLOAT type only returns 4 decimals') + return fails_if([ + ('mysql', None, None, + 'mysql FLOAT type only returns 4 decimals'), + ('firebird', None, None, + "firebird FLOAT type isn't high precision"), + ]) @property def floats_to_four_decimals(self): - return fails_if("mysql+oursql", "Floating point error") + return fails_if([ + ("mysql+oursql", None, None, "Floating point error"), + ("firebird", None, None, + "Firebird still has FP inaccuracy even " + "with only four decimal places") + ]) @property def python2(self): |