diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-02-06 20:20:07 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-02-06 20:20:07 -0500 |
| commit | 8550a4c38629373baad853b3c37ca3bd92a2fe54 (patch) | |
| tree | eba5c68db6bc19649619df8677b9a9bac6db917a /lib/sqlalchemy/testing/requirements.py | |
| parent | a0ef9edc1908adb823ec788eee1974900bca4bac (diff) | |
| download | sqlalchemy-8550a4c38629373baad853b3c37ca3bd92a2fe54.tar.gz | |
port numeric tests to dialect suite
Diffstat (limited to 'lib/sqlalchemy/testing/requirements.py')
| -rw-r--r-- | lib/sqlalchemy/testing/requirements.py | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py index e6e21d2cb..6cc1de96d 100644 --- a/lib/sqlalchemy/testing/requirements.py +++ b/lib/sqlalchemy/testing/requirements.py @@ -231,6 +231,10 @@ class SuiteRequirements(Requirements): self.config.db.dialect.sequences_optional ], "no sequence support, or sequences not optional") + + + + @property def reflects_pk_names(self): return exclusions.closed() @@ -329,6 +333,40 @@ class SuiteRequirements(Requirements): return exclusions.open() @property + def precision_numerics_general(self): + """target backend has general support for moderately high-precision + numerics.""" + return exclusions.open() + + @property + def precision_numerics_enotation_small(self): + """target backend supports Decimal() objects using E notation + to represent very small values.""" + return exclusions.closed() + + @property + def precision_numerics_enotation_large(self): + """target backend supports Decimal() objects using E notation + to represent very large values.""" + return exclusions.closed() + + @property + def precision_numerics_many_significant_digits(self): + """target backend supports values with many digits on both sides, + such as 319438950232418390.273596, 87673.594069654243 + + """ + return exclusions.closed() + + @property + def precision_numerics_retains_significant_digits(self): + """A precision numeric type will return empty significant digits, + i.e. a value such as 10.000 will come back in Decimal form with + the .000 maintained.""" + + return exclusions.closed() + + @property def text_type(self): """Target database must support an unbounded Text() " "type such as TEXT or CLOB""" |
