From: Jason Kirtland Date: Fri, 1 Jun 2007 01:24:27 +0000 (+0000) Subject: - Pulling pyformat test for MySQL-python, which fails on 3 driver versions X-Git-Tag: rel_0_3_8~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aa07d6d4d2ee2e810a95d5b6960fc58e012475c;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - Pulling pyformat test for MySQL-python, which fails on 3 driver versions (1.2.2b3, 1.2.2c1, 1.2.2) --- diff --git a/test/engine/execute.py b/test/engine/execute.py index af29fb2a53..33c2520182 100644 --- a/test/engine/execute.py +++ b/test/engine/execute.py @@ -44,8 +44,10 @@ class ExecuteTest(testbase.PersistTest): res = conn.execute("select * from users") assert res.fetchall() == [(1, "jack"), (2, "ed"), (3, "horse"), (4, 'sally'), (5, None)] conn.execute("delete from users") - - @testbase.supported('postgres', 'mysql') + + # pyformat is supported for mysql, but skipping because a few driver + # versions have a bug that bombs out on this test. (1.2.2b3, 1.2.2c1, 1.2.2) + @testbase.supported('postgres') def test_raw_python(self): for conn in (testbase.db, testbase.db.connect()): conn.execute("insert into users (user_id, user_name) values (%(id)s, %(name)s)", {'id':1, 'name':'jack'})