From fc7081cc3df89ed2ed467485d2b055b081af747c Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 10 Jul 2014 16:10:46 -0400 Subject: [PATCH] - determine the root cause of the mysqlconnector issue, report it and move on --- test/dialect/mysql/test_types.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/dialect/mysql/test_types.py b/test/dialect/mysql/test_types.py index fd359857bb..1159324b4b 100644 --- a/test/dialect/mysql/test_types.py +++ b/test/dialect/mysql/test_types.py @@ -154,11 +154,10 @@ class TypesTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiledSQL): res ) - # TODO: how on earth does mysqlconnector pass the precision numeric - # testse in the generic suite when it fails this?? - @testing.fails_on( - "mysql+mysqlconnector", - "unknown issue, possible bug in mysqlconnector") + @testing.fails_if( + lambda: testing.against("mysql+mysqlconnector") + and not util.py3k, + "bug in mysqlconnector; http://bugs.mysql.com/bug.php?id=73266") @testing.provide_metadata def test_precision_float_roundtrip(self): t = Table('t', self.metadata, -- 2.47.3