diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-02-10 23:37:15 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-02-10 23:37:15 -0500 |
commit | 134a4cb3a6f4ee0e2c2865d97cf20f829b29f162 (patch) | |
tree | 820616703d51e6633c1067a4187af9c7390ddc53 /test/dialect/test_postgresql.py | |
parent | 848257f7d2f325f67e2dab553d0ee9e5d89f03d6 (diff) | |
download | sqlalchemy-134a4cb3a6f4ee0e2c2865d97cf20f829b29f162.tar.gz |
fix some tests
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r-- | test/dialect/test_postgresql.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index 5d67e1921..424e8b5d9 100644 --- a/test/dialect/test_postgresql.py +++ b/test/dialect/test_postgresql.py @@ -2094,14 +2094,16 @@ 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)') + 'matchtable.title @@ to_tsquery(%s)', + dialect=postgresql.dialect()) def test_simple_match(self): results = \ |