diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-10 11:47:31 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-10 11:47:31 -0400 |
commit | 6c81c4c26e2962ea06b224317d02e615664302f1 (patch) | |
tree | 910af881d9448aece2333c669c1c40ba8430608c | |
parent | ef968470c9a6e305f012b0ec79e1d22b02f12bb7 (diff) | |
download | sqlalchemy-6c81c4c26e2962ea06b224317d02e615664302f1.tar.gz |
- mark tests failing for mysqlconnector, oursql
-rw-r--r-- | test/dialect/mysql/test_types.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/test/dialect/mysql/test_types.py b/test/dialect/mysql/test_types.py index ffb2240bb..011215492 100644 --- a/test/dialect/mysql/test_types.py +++ b/test/dialect/mysql/test_types.py @@ -154,13 +154,18 @@ 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.provide_metadata def test_precision_float_roundtrip(self): t = Table('t', self.metadata, Column('scale_value', mysql.DOUBLE( - precision=15, scale=12, asdecimal=True)), + precision=15, scale=12, asdecimal=True)), Column('unscale_value', mysql.DOUBLE( - decimal_return_scale=12, asdecimal=True)) + decimal_return_scale=12, asdecimal=True)) ) t.create(testing.db) testing.db.execute( @@ -258,7 +263,8 @@ class TypesTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiledSQL): res ) - @testing.only_if('mysql+mysqldb') + @testing.only_if('mysql') + @testing.fails_on('mysql+mysqlconnector', "different unicode behavior") @testing.exclude('mysql', '<', (5, 0, 5), 'a 5.0+ feature') @testing.provide_metadata def test_charset_collate_table(self): @@ -512,6 +518,7 @@ class TypesTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiledSQL): datetime.time(8, 37, 35, 450) ) + @testing.fails_on("mysql+oursql", "TODO: probable OurSQL bug") @testing.provide_metadata def test_time_roundtrip(self): t = Table('mysql_time', self.metadata, |