diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-10 16:10:46 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-10 16:11:03 -0400 |
commit | 0190ede10767ed455255067cac2d309f070cf70c (patch) | |
tree | 2682557559c0ebeca19cac0b85ea4c23bfabd419 | |
parent | 6c81c4c26e2962ea06b224317d02e615664302f1 (diff) | |
download | sqlalchemy-0190ede10767ed455255067cac2d309f070cf70c.tar.gz |
- determine the root cause of the mysqlconnector issue, report
it and move on
-rw-r--r-- | test/dialect/mysql/test_types.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/dialect/mysql/test_types.py b/test/dialect/mysql/test_types.py index 011215492..173520216 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, |