Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/davispuh/MySQL-for-Python-3
/ test_commit
Method
test_commit
tests/dbapi20.py:224–230 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
222
223
224
def
test_commit(self):
225
con = self._connect()
226
try
:
227
# Commit must work, even if it doesn't do anything
228
con.commit()
229
finally:
230
con.close()
231
232
def
test_rollback(self):
233
con = self._connect()
Callers
nothing calls this directly
Calls
2
_connect
Method · 0.95
close
Method · 0.80
Tested by
no test coverage detected