summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authorMichael Trier <mtrier@gmail.com>2008-11-10 01:11:43 +0000
committerMichael Trier <mtrier@gmail.com>2008-11-10 01:11:43 +0000
commitd360fd7fe33bdc7f3c0fc9c41a52c17f440b9310 (patch)
tree6b7c0f20e7013cd71417b5397be26f13e4e6e8b0 /test/sql
parenta8cd5cfd390456fef02b5edc655dba5c30adcb1b (diff)
downloadsqlalchemy-d360fd7fe33bdc7f3c0fc9c41a52c17f440b9310.tar.gz
Corrected issue with decimal e notation that broke regular decimal tests for mssql.
Diffstat (limited to 'test/sql')
-rw-r--r--test/sql/testtypes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sql/testtypes.py b/test/sql/testtypes.py
index 457deb44e..d1e12d2cd 100644
--- a/test/sql/testtypes.py
+++ b/test/sql/testtypes.py
@@ -708,10 +708,10 @@ class NumericTest(TestBase, AssertsExecutionResults):
(l[0][0], l[0][1], round(l[0][2], 5), l[0][3], l[0][4]),
(l[1][0], l[1][1], round(l[1][2], 5), l[1][3], l[1][4]),
]
- assert rounded == [
+ testing.eq_(rounded, [
(1, 3.5, 5.6, Decimal("12.4"), Decimal("15.75")),
(2, 3.5, 5.6, Decimal("12.4"), Decimal("15.75")),
- ]
+ ])
def test_decimal_fallback(self):
from decimal import Decimal