]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- determine the root cause of the mysqlconnector issue, report
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Jul 2014 20:10:46 +0000 (16:10 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Jul 2014 20:11:03 +0000 (16:11 -0400)
it and move on

test/dialect/mysql/test_types.py

index 011215492e545dad023ce9797bdf6dd3ddfa7464..1735202167bcc80e1b30b6892ff2992c615bbaed 100644 (file)
@@ -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,