From: Daniele Varrazzo Date: Tue, 12 Dec 2023 17:02:22 +0000 (+0100) Subject: test: mark a couple of test slow X-Git-Tag: 3.2.0~120 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d36aef1fbfe79671a12d001d1a2272b0b5c2ac8;p=thirdparty%2Fpsycopg.git test: mark a couple of test slow Sub-second, but noticeable glitches in my stream of green dots. --- diff --git a/tests/test_connection.py b/tests/test_connection.py index 698ff8d64..5afb4e91e 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -130,6 +130,7 @@ def test_cursor_closed(conn): # compiled with Cython-3.0.0b3, not before. +@pytest.mark.slow @pytest.mark.xfail( pq.__impl__ in ("c", "binary") and sys.version_info[:2] == (3, 12) diff --git a/tests/test_connection_async.py b/tests/test_connection_async.py index 32cc417b7..5b4a66dfb 100644 --- a/tests/test_connection_async.py +++ b/tests/test_connection_async.py @@ -127,6 +127,7 @@ async def test_cursor_closed(aconn): # TODO: the INERROR started failing in the C implementation in Python 3.12a7 # compiled with Cython-3.0.0b3, not before. +@pytest.mark.slow @pytest.mark.xfail( pq.__impl__ in ("c", "binary") and sys.version_info[:2] == (3, 12)