]> 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:39:00 +0000 (22:39 +0200)
commitea6259f8e699378262fe1d9c98734d375602494a
tree8627d582ebf5bd50e3ee1ae5599502e931c1b2c0
parent074d94eaf640df4649826137199be1274f42bd75
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