]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- oursql returns a pure FP here which isn't exact
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 22 Oct 2013 03:21:11 +0000 (23:21 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 22 Oct 2013 03:21:11 +0000 (23:21 -0400)
lib/sqlalchemy/testing/suite/test_types.py

index 5523523aa1562ba1ec6cd1f167a618052fb060b1..d04829a79b432a86db6d4ca9e52d5f359e548092 100644 (file)
@@ -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):