Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psycopg/psycopg
/ test_connection_closed
Function
test_connection_closed
tests/test_pipeline.py:36–40 ·
view source on GitHub ↗
(conn)
Source
from the content-addressed store, hash-verified
34
35
36
def
test_connection_closed(conn):
37
conn.close()
38
with
pytest.raises(e.OperationalError):
39
with
conn.pipeline():
40
pass
41
42
43
def
test_pipeline_status(conn: psycopg.Connection[Any]) -> None:
Callers
nothing calls this directly
Calls
2
close
Method · 0.45
pipeline
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…