It takes 300ms, but it's still a blip when other tests run.
Add notes in the tests readme about repeating finding slow tests.
[...]
==== 1877 passed, 2 skipped, 169 deselected, 48 xfailed in 13.47s =====
+ .. note::
+ In order to spot new slow tests you can run::
+
+ pytest -m "not slow" --durations-min=0.1 --durations=0
+
+
- ``pytest`` option ``--pq-trace={TRACEFILE,STDERR}`` can be used to capture
libpq trace. When using ``stderr``, the output will only be shown for
failing or in-error tests, unless ``-s/--capture=no`` option is used.
assert cur.fetchone()[0] == ["a", "b", s]
+@pytest.mark.slow
def test_register_array_leak(conn):
info = TypeInfo.fetch(conn, "date")
ntypes = []