]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
test: drop unneeded raise on pytest.skip()
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 11 Oct 2023 11:30:46 +0000 (13:30 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 11 Oct 2023 21:45:39 +0000 (23:45 +0200)
tests/_test_cursor.py

index 69c50630516ac79ce7793d0bc9f9af9c1264aa6e..4f773bea450256497ace13ffcd7e3ace5d7637de 100644 (file)
@@ -33,7 +33,7 @@ def ph(cur: Any, query: str) -> str:
         return query
 
     if "%(" in query:
-        raise pytest.skip("RawCursor only supports positional placeholders")
+        pytest.skip("RawCursor only supports positional placeholders")
 
     n = 1