Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psycopg/psycopg
/ test_conninfo_parse_bad
Function
test_conninfo_parse_bad
tests/pq/test_conninfo.py:45–48 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
44
45
def
test_conninfo_parse_bad():
46
with
pytest.raises(psycopg.OperationalError)
as
e:
47
pq.Conninfo.parse(b
"bad_conninfo="
)
48
assert
"bad_conninfo"
in str(e.value)
Callers
nothing calls this directly
Calls
1
parse
Method · 0.45
Tested by
no test coverage detected