]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
psycopg2 2.4 no longer accepts % in bind place holders
authorDenise Govindarajan <denise.govindarajan@pcusa.org>
Tue, 15 Mar 2011 21:47:36 +0000 (17:47 -0400)
committerDenise Govindarajan <denise.govindarajan@pcusa.org>
Tue, 15 Mar 2011 21:47:36 +0000 (17:47 -0400)
test/sql/test_query.py

index 1adb00aea1fdf2309ddb3720cba4e11ea899486a..8f7c4c6a7bd665cff65e7e3919f7b5a3fadd7351 100644 (file)
@@ -1025,6 +1025,7 @@ class PercentSchemaNamesTest(TestBase):
     def teardown_class(cls):
         metadata.drop_all()
 
+    @testing.skip_if(lambda: testing.against('postgresql'), "psycopg2 2.4 no longer accepts % in bind placeholders")
     def test_single_roundtrip(self):
         percent_table.insert().execute(
             {'percent%':5, 'spaces % more spaces':12},
@@ -1040,6 +1041,7 @@ class PercentSchemaNamesTest(TestBase):
         )
         self._assert_table()
 
+    @testing.skip_if(lambda: testing.against('postgresql'), "psycopg2 2.4 no longer accepts % in bind placeholders")
     @testing.crashes('mysql+mysqldb', 'MySQLdb handles executemany() inconsistently vs. execute()')
     def test_executemany_roundtrip(self):
         percent_table.insert().execute(