]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: add test to verify the behavior of adapters failing init
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 14 Sep 2022 20:57:05 +0000 (21:57 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 14 Sep 2022 20:57:05 +0000 (21:57 +0100)
commitec908dd73aa01fe341dcf1ef007cfa26a524cbad
tree24ef5e28309820e0afefd442db35e975cd51cff0
parente6f1f1a76cae0af5bf66742e2875bf26a4e823f8
test: add test to verify the behavior of adapters failing init

An exception in loader init doesn't get raised and causes a segfault.
This reproduces the issue in #372.
tests/test_adapt.py