]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Skip test using websearch_to_tsquery() for PostgreSQL < 11
authorDenis Laxalde <denis@laxalde.org>
Tue, 20 May 2025 15:20:40 +0000 (17:20 +0200)
committerDenis Laxalde <denis@laxalde.org>
Wed, 21 May 2025 06:12:40 +0000 (08:12 +0200)
test/dialect/postgresql/test_query.py

index c55cd0a5d7ce38a3bc555c9817ba586916fa9ffb..fc68e08ed4df7bad503d8b664e9a20e64060bde8 100644 (file)
@@ -1007,7 +1007,7 @@ class MatchTest(fixtures.TablesTest, AssertsCompiledSQL):
         (func.to_tsquery,),
         (func.plainto_tsquery,),
         (func.phraseto_tsquery,),
-        (func.websearch_to_tsquery,),
+        (func.websearch_to_tsquery, testing.skip_if("postgresql < 11")),
         argnames="to_ts_func",
     )
     @testing.variation("use_regconfig", [True, False, "literal"])