Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PyMySQL/mysqlclient
/ test_cursor
Method
test_cursor
tests/dbapi20.py:226–231 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
224
pass
225
226
def
test_cursor(self):
227
con = self._connect()
228
try
:
229
_ = con.cursor()
230
finally:
231
con.close()
232
233
def
test_cursor_isolation(self):
234
con = self._connect()
Callers
nothing calls this directly
Calls
3
_connect
Method · 0.95
cursor
Method · 0.80
close
Method · 0.80
Tested by
no test coverage detected