Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ close
Function
close
test/engine/test_reconnect.py:87–90 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
85
return
86
87
def
close():
88
cursor.fetchall = cursor.fetchone = Mock(
89
side_effect=MockError(
"cursor closed"
)
90
)
91
92
cursor = Mock(
93
execute=Mock(side_effect=execute), close=Mock(side_effect=close)
Callers
nothing calls this directly
Calls
1
MockError
Class · 0.85
Tested by
no test coverage detected