From: Mike Bayer Date: Wed, 8 Dec 2010 20:00:37 +0000 (-0500) Subject: add oursql to the list of offenders... X-Git-Tag: rel_0_7b1~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ea2ac12614ebba060dbe177dfd201ae206be088;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git add oursql to the list of offenders... --- diff --git a/test/sql/test_types.py b/test/sql/test_types.py index bb3a449ca7..73d99ac6a4 100644 --- a/test/sql/test_types.py +++ b/test/sql/test_types.py @@ -1416,8 +1416,8 @@ class NumericRawSQLTest(TestBase): val = testing.db.execute("select val from t").scalar() assert isinstance(val, float) - # some DBs have unusual float handling - if testing.against('oracle+cx_oracle'): + # some DBAPIs have unusual float handling + if testing.against('oracle+cx_oracle', 'mysql+oursql'): eq_(round_decimal(val, 3), 46.583) else: eq_(val, 46.583)