From: Mike Bayer Date: Thu, 10 Jul 2014 15:47:31 +0000 (-0400) Subject: - mark tests failing for mysqlconnector, oursql X-Git-Tag: rel_1_0_0b1~334 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c81c4c26e2962ea06b224317d02e615664302f1;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - mark tests failing for mysqlconnector, oursql --- diff --git a/test/dialect/mysql/test_types.py b/test/dialect/mysql/test_types.py index ffb2240bb4..011215492e 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,