diff options
Diffstat (limited to 'test/dialect')
| -rw-r--r-- | test/dialect/postgresql/test_query.py | 8 | ||||
| -rw-r--r-- | test/dialect/postgresql/test_types.py | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/test/dialect/postgresql/test_query.py b/test/dialect/postgresql/test_query.py index a512b56fa..3ec3bd3f2 100644 --- a/test/dialect/postgresql/test_query.py +++ b/test/dialect/postgresql/test_query.py @@ -684,6 +684,7 @@ class MatchTest(fixtures.TestBase, AssertsCompiledSQL): metadata.drop_all() @testing.fails_on('postgresql+pg8000', 'uses positional') + @testing.fails_on('postgresql+minipg', 'uses format') @testing.fails_on('postgresql+zxjdbc', 'uses qmark') def test_expression_pyformat(self): self.assert_compile(matchtable.c.title.match('somstr'), @@ -692,27 +693,32 @@ class MatchTest(fixtures.TestBase, AssertsCompiledSQL): @testing.fails_on('postgresql+psycopg2', 'uses pyformat') @testing.fails_on('postgresql+pypostgresql', 'uses pyformat') + @testing.fails_on('postgresql+minipg', 'uses format') @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)') + @testing.fails_on('postgresql+minipg', 'uses format') def test_simple_match(self): results = matchtable.select().where( matchtable.c.title.match('python')).order_by( matchtable.c.id).execute().fetchall() eq_([2, 5], [r.id for r in results]) + @testing.fails_on('postgresql+minipg', 'uses format') def test_simple_match_with_apostrophe(self): results = matchtable.select().where( matchtable.c.title.match("Matz's")).execute().fetchall() eq_([3], [r.id for r in results]) + @testing.fails_on('postgresql+minipg', 'uses format') def test_simple_derivative_match(self): results = matchtable.select().where( matchtable.c.title.match('nutshells')).execute().fetchall() eq_([5], [r.id for r in results]) + @testing.fails_on('postgresql+minipg', 'uses format') def test_or_match(self): results1 = matchtable.select().where( or_( @@ -725,6 +731,7 @@ class MatchTest(fixtures.TestBase, AssertsCompiledSQL): matchtable.c.id).execute().fetchall() eq_([3, 5], [r.id for r in results2]) + @testing.fails_on('postgresql+minipg', 'uses format') def test_and_match(self): results1 = matchtable.select().where( and_( @@ -737,6 +744,7 @@ class MatchTest(fixtures.TestBase, AssertsCompiledSQL): )).execute().fetchall() eq_([5], [r.id for r in results2]) + @testing.fails_on('postgresql+minipg', 'uses format') def test_match_across_joins(self): results = matchtable.select().where( and_( diff --git a/test/dialect/postgresql/test_types.py b/test/dialect/postgresql/test_types.py index 5c5da59b1..d6533e0ea 100644 --- a/test/dialect/postgresql/test_types.py +++ b/test/dialect/postgresql/test_types.py @@ -81,6 +81,8 @@ class FloatCoercionTest(fixtures.TablesTest, AssertsExecutionResults): @testing.fails_on('postgresql+zxjdbc', 'zxjdbc has no support for PG arrays') + @testing.fails_on('postgresql+minipg', + 'minipg has no support for PG arrays') @testing.provide_metadata def test_arrays(self): metadata = self.metadata @@ -561,7 +563,7 @@ class ArrayTest(fixtures.TablesTest, AssertsExecutionResults): __only_on__ = 'postgresql' __backend__ = True - __unsupported_on__ = 'postgresql+pg8000', 'postgresql+zxjdbc' + __unsupported_on__ = 'postgresql+pg8000', 'postgresql+minipg', 'postgresql+zxjdbc' @classmethod def define_tables(cls, metadata): |
