diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-11-02 18:19:35 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-11-02 22:16:54 -0400 |
commit | 9fa79bb53638e02aaa45d77397b39a1b652ba5f1 (patch) | |
tree | 8001245d8cb588082884e3078aa943850323ea07 /lib/sqlalchemy/testing/requirements.py | |
parent | 37bc1285c5bddf1e1b3a5830c530139e6fdd4bc4 (diff) | |
download | sqlalchemy-9fa79bb53638e02aaa45d77397b39a1b652ba5f1.tar.gz |
map Float to asyncpg.FLOAT, test for infinity
Fixes: #7283
Change-Id: I5402a72617b7f9bc366d64bc5ce8669374839984
Diffstat (limited to 'lib/sqlalchemy/testing/requirements.py')
-rw-r--r-- | lib/sqlalchemy/testing/requirements.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py index 8b385b5d2..08acbd2d2 100644 --- a/lib/sqlalchemy/testing/requirements.py +++ b/lib/sqlalchemy/testing/requirements.py @@ -981,6 +981,12 @@ class SuiteRequirements(Requirements): return exclusions.closed() @property + def infinity_floats(self): + """The Float type can persist and load float('inf'), float('-inf').""" + + return exclusions.closed() + + @property def precision_generic_float_type(self): """target backend will return native floating point numbers with at least seven decimal places when using the generic Float type. |