]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Catch explicit exception type in test_connect_badargs()
authorDenis Laxalde <denis.laxalde@dalibo.com>
Fri, 5 Nov 2021 10:47:10 +0000 (11:47 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 10 Nov 2021 01:57:39 +0000 (02:57 +0100)
commitfe77e3b7fd71d98c5c1e57b52150201260e81c32
tree07ba9bcf6ef0404b528dc7eba58ac30259d68934
parent7c44fdaf341e192b148962c6dbfd12f45ba2b5e4
Catch explicit exception type in test_connect_badargs()

Work around the type of pytest.raises() which appears too strict.
tests/test_connection.py
tests/test_connection_async.py