summaryrefslogtreecommitdiff
path: root/test/sql/test_query.py
diff options
context:
space:
mode:
authorDenise Govindarajan <denise.govindarajan@pcusa.org>2011-03-15 17:47:36 -0400
committerDenise Govindarajan <denise.govindarajan@pcusa.org>2011-03-15 17:47:36 -0400
commitd33e0a597d6409d2e19d709a6c9acb25b3150bcc (patch)
tree423de37d31650f955829515ffad5d878c27d4496 /test/sql/test_query.py
parent9ccfdaf1ae5e3b4bc5d8630f4a6d6e16c7db650c (diff)
downloadsqlalchemy-d33e0a597d6409d2e19d709a6c9acb25b3150bcc.tar.gz
psycopg2 2.4 no longer accepts % in bind place holders
Diffstat (limited to 'test/sql/test_query.py')
-rw-r--r--test/sql/test_query.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py
index 1adb00aea..8f7c4c6a7 100644
--- a/test/sql/test_query.py
+++ b/test/sql/test_query.py
@@ -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(