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.1.15~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08ddac73f0276963a079dd42bd971ce9d684cb6a;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 3df8475d8..7b823beaa 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -122,6 +122,7 @@ def test_cursor_closed(conn): # 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)), reason="Something with Exceptions, C, Python 3.12", diff --git a/tests/test_connection_async.py b/tests/test_connection_async.py index b71d58bcc..a35973c69 100644 --- a/tests/test_connection_async.py +++ b/tests/test_connection_async.py @@ -131,6 +131,7 @@ async def test_cursor_closed(aconn): aconn.cursor() +@pytest.mark.slow @anyio_3_runtime_error async def test_connection_warn_close(aconn_cls, dsn, recwarn, gc_collect): conn = await aconn_cls.connect(dsn)