Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psycopg/psycopg
/ test_cursor
Method
test_cursor
tests/dbapi20.py:256–261 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
254
con.close()
255
256
def
test_cursor(self):
257
con = self._connect()
258
try
:
259
cur = con.cursor()
260
finally:
261
con.close()
262
263
def
test_cursor_isolation(self):
264
con = self._connect()
Callers
nothing calls this directly
Calls
3
_connect
Method · 0.95
cursor
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected