]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test(pool): make sure that returned connection have the pool set
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 4 May 2025 20:57:10 +0000 (22:57 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 19 Oct 2025 01:20:17 +0000 (03:20 +0200)
commit8b16509ac897506f8de1267c785c49e9aef124e5
treef05713e87eb45413f88449827367077454ce7454
parenta603ab39b6644a569947a7e1ff29ac0945bf18f4
test(pool): make sure that returned connection have the pool set

The flow where we set _pool = None or _pool = self is a bit complex.
Make sure we don't mess it up.
tests/pool/test_pool_common.py
tests/pool/test_pool_common_async.py
tests/pool/test_pool_null.py
tests/pool/test_pool_null_async.py