summaryrefslogtreecommitdiff
path: root/test/dialect/mysql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-02-15 18:28:12 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2023-02-15 18:28:12 -0500
commit8855656626202e541bd2c95bc023e820a022322f (patch)
tree9ab6972e392f51d53c23c10098ce7a7e1a1ee679 /test/dialect/mysql
parent59d357b8ea23ce645747b5f3f221365b76504d8c (diff)
downloadsqlalchemy-8855656626202e541bd2c95bc023e820a022322f.tar.gz
prevent float tests from running on asyncmy
asyncmy 0.2.7 has had a loss in float precision for even very low numbers of significant digits. Change-Id: Iec6d2650943eeaa8e854f21990f6565d73331f8c References: https://github.com/long2ice/asyncmy/issues/56
Diffstat (limited to 'test/dialect/mysql')
-rw-r--r--test/dialect/mysql/test_types.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dialect/mysql/test_types.py b/test/dialect/mysql/test_types.py
index eca1051e2..989d50d49 100644
--- a/test/dialect/mysql/test_types.py
+++ b/test/dialect/mysql/test_types.py
@@ -471,6 +471,8 @@ class TypeRoundTripTest(fixtures.TestBase, AssertsExecutionResults):
# fixed in mysql-connector as of 2.0.1,
# see https://bugs.mysql.com/bug.php?id=73266
+
+ @testing.requires.literal_float_coercion
def test_precision_float_roundtrip(self, metadata, connection):
t = Table(
"t",