From: Michael Trier Date: Mon, 22 Feb 2010 22:54:35 +0000 (+0000) Subject: The py-postgresql dialect supports raw python. X-Git-Tag: rel_0_6beta2~149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3ffcf82ce1f0ba4bf887f889d7f1c0bfcc1f68b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git The py-postgresql dialect supports raw python. --- diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py index ef49d5e5fa..a498508d7e 100644 --- a/test/engine/test_execute.py +++ b/test/engine/test_execute.py @@ -56,7 +56,7 @@ class ExecuteTest(TestBase): # 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) @testing.skip_if(lambda: testing.against('mysql+mysqldb'), 'db-api flaky') - @testing.fails_on_everything_except('postgresql+psycopg2') + @testing.fails_on_everything_except('postgresql+psycopg2', 'postgresql+pypostgresql') def test_raw_python(self): for conn in (testing.db, testing.db.connect()): conn.execute("insert into users (user_id, user_name) values (%(id)s, %(name)s)", {'id':1, 'name':'jack'})