]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: fix failure in test_connection_warn_close
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 5 Jul 2025 22:47:40 +0000 (00:47 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 6 Jul 2025 20:38:24 +0000 (22:38 +0200)
commit24d0340cebcf02d2ca8e8c91e66e16045b529420
treea8e6fc90734d34f1b721d84fa250be6a898bd192
parent6a1a32a2238bb336a0e54a3e6aa3a86bf757436b
test: fix failure in test_connection_warn_close

Create all the connections beforehand otherwise some may reuse the same
address, resulting in a duplicated warning message, which would be
omitted and fail the test.
tests/test_connection.py
tests/test_connection_async.py