]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
The py-postgresql dialect supports raw python.
authorMichael Trier <mtrier@gmail.com>
Mon, 22 Feb 2010 22:54:35 +0000 (22:54 +0000)
committerMichael Trier <mtrier@gmail.com>
Mon, 22 Feb 2010 22:54:35 +0000 (22:54 +0000)
test/engine/test_execute.py

index ef49d5e5fa255215004625937c1a282aff814956..a498508d7e0f8d6210cfad23882877055e5af1a4 100644 (file)
@@ -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'})