Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMySQL/PyMySQL
/ __init__
Method
__init__
pymysql/tests/test_connection.py:154–155 ·
view source on GitHub ↗
(self, con)
Source
from the content-addressed store, hash-verified
152
fail = False
153
154
def
__init__(self, con):
155
self.fail = TestAuthentication.Dialog.fail
156
157
def
prompt(self, echo, prompt):
158
if
self.fail:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected