]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- Pulling pyformat test for MySQL-python, which fails on 3 driver versions
authorJason Kirtland <jek@discorporate.us>
Fri, 1 Jun 2007 01:24:27 +0000 (01:24 +0000)
committerJason Kirtland <jek@discorporate.us>
Fri, 1 Jun 2007 01:24:27 +0000 (01:24 +0000)
  (1.2.2b3, 1.2.2c1, 1.2.2)

test/engine/execute.py

index af29fb2a53231a6d25e924609e83f33a492041a2..33c25201824faecd20fb1a4292b31c2520bcf220 100644 (file)
@@ -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'})