]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: ignore error looking for leaks
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 13 Dec 2022 03:05:39 +0000 (03:05 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 13 Dec 2022 11:20:24 +0000 (11:20 +0000)
commitff70a4d86f14e2658ee643c5696c525eabc3fc7a
treeea9e255ceba5942b1467baba55f4a21d871fccec
parenta1e12bfbde655a7001172abd8fd0f0396e4afd63
test: ignore error looking for leaks

The leaks counter frequently reports a leak between run 1 and 2 of the
tests. It turns out to be a Decimal Context whose items() method reports
no content. So the problem is related to Python, not psycopg, and it is
not an unbound leak.

Can't reproduce it in CI, but it happens on my laptop, since switching
to Ubuntu 22.04 with Python 3.10.
tests/crdb/test_copy.py
tests/crdb/test_copy_async.py
tests/test_client_cursor.py
tests/test_client_cursor_async.py
tests/test_copy.py
tests/test_copy_async.py
tests/test_cursor.py
tests/test_cursor_async.py
tests/utils.py