]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: add test to reproduce the wrong error on disconnect
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 8 Jan 2025 00:16:46 +0000 (01:16 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 10 Jan 2025 00:39:29 +0000 (01:39 +0100)
commitd19bf069289f4032eea8267929b5624d9ab5bd56
treedd32e9987ab9a0f72e0a65d3b15066ec3dd7364a
parentc0399033d4d3e7d8d5e0046ddcc81dddef0b9043
test: add test to reproduce the wrong error on disconnect

We raise `OperationalError` instead of `IdleInTransactionSessionTimeout`.

See #988.
tests/test_connection.py
tests/test_connection_async.py