summaryrefslogtreecommitdiff
path: root/test/dialect/test_postgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-02-11 11:24:54 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2011-02-11 11:24:54 -0500
commit33eae4a1405b1968ad486bfe3aefee7f7d631128 (patch)
tree326624218607f1f91ddcccdc61d83dec99251c15 /test/dialect/test_postgresql.py
parent09efc11fbc95f8a47200dd102d304b90609e9408 (diff)
downloadsqlalchemy-33eae4a1405b1968ad486bfe3aefee7f7d631128.tar.gz
make it more explicit in tests which dialect we want to use for things
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r--test/dialect/test_postgresql.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py
index 424e8b5d9..5d67e1921 100644
--- a/test/dialect/test_postgresql.py
+++ b/test/dialect/test_postgresql.py
@@ -2094,16 +2094,14 @@ class MatchTest(TestBase, AssertsCompiledSQL):
def test_expression_pyformat(self):
self.assert_compile(matchtable.c.title.match('somstr'),
'matchtable.title @@ to_tsquery(%(title_1)s'
- ')',
- dialect=postgresql.dialect())
+ ')')
@testing.fails_on('postgresql+psycopg2', 'uses pyformat')
@testing.fails_on('postgresql+pypostgresql', 'uses pyformat')
@testing.fails_on('postgresql+zxjdbc', 'uses qmark')
def test_expression_positional(self):
self.assert_compile(matchtable.c.title.match('somstr'),
- 'matchtable.title @@ to_tsquery(%s)',
- dialect=postgresql.dialect())
+ 'matchtable.title @@ to_tsquery(%s)')
def test_simple_match(self):
results = \