summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-10-21 23:21:11 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-10-21 23:21:11 -0400
commit5d5700c40e0abc6c228c03c6261bdc6627a3e02a (patch)
tree3a7a961d010e18ce056ab89366b6daecbba9fc62 /lib/sqlalchemy
parentcdc9475b0b23cc3088adf48e082e798e675a6266 (diff)
downloadsqlalchemy-5d5700c40e0abc6c228c03c6261bdc6627a3e02a.tar.gz
- oursql returns a pure FP here which isn't exact
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/testing/suite/test_types.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_types.py b/lib/sqlalchemy/testing/suite/test_types.py
index 5523523aa..d04829a79 100644
--- a/lib/sqlalchemy/testing/suite/test_types.py
+++ b/lib/sqlalchemy/testing/suite/test_types.py
@@ -345,11 +345,12 @@ class NumericTest(_LiteralRoundTripFixture, fixtures.TestBase):
[15.7563],
)
+ @testing.requires.floats_to_four_decimals
def test_render_literal_float(self):
self._literal_round_trip(
Float(4),
[15.7563, decimal.Decimal("15.7563")],
- [15.7563],
+ [15.7563,],
)
def test_numeric_as_decimal(self):