]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
test: mark a couple of test slow
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 12 Dec 2023 17:02:22 +0000 (18:02 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 12 Dec 2023 18:23:21 +0000 (19:23 +0100)
Sub-second, but noticeable glitches in my stream of green dots.

tests/test_connection.py
tests/test_connection_async.py

index 698ff8d643ba8a9e550dd8b24972d43489bfa5a9..5afb4e91e1407bd06f2d6ea13de1448056ff1c50 100644 (file)
@@ -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)
index 32cc417b7b71d9cb733e71ec5df4a473c7a8a26c..5b4a66dfb6dbe6187fb0c58ebf27cce864cde319 100644 (file)
@@ -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)