From: Daniele Varrazzo Date: Wed, 11 Oct 2023 11:30:46 +0000 (+0200) Subject: test: drop unneeded raise on pytest.skip() X-Git-Tag: pool-3.2.0~12^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=431dd227e2c6f1c3de865ac5d06096ee141f9188;p=thirdparty%2Fpsycopg.git test: drop unneeded raise on pytest.skip() --- diff --git a/tests/_test_cursor.py b/tests/_test_cursor.py index 69c506305..4f773bea4 100644 --- a/tests/_test_cursor.py +++ b/tests/_test_cursor.py @@ -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