MCPcopy Index your code
hub / github.com/PyMySQL/PyMySQL / test_issue_33

Method test_issue_33

pymysql/tests/test_issues.py:188–196  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

186 self.fail()
187
188 def test_issue_33(self):
189 conn = pymysql.connect(charset="utf8", **self.databases[0])
190 self.safe_create_table(
191 conn, "hei\xdfe", "create table hei\xdfe (name varchar(32))"
192 )
193 c = conn.cursor()
194 c.execute("insert into hei\xdfe (name) values ('Pi\xdfata')")
195 c.execute("select name from hei\xdfe")
196 self.assertEqual("Pi\xdfata", c.fetchone()[0])
197
198 @pytest.mark.skip("This test requires manual intervention")
199 def test_issue_35(self):

Callers

nothing calls this directly

Calls 5

safe_create_tableMethod · 0.80
cursorMethod · 0.80
executeMethod · 0.80
connectMethod · 0.45
fetchoneMethod · 0.45

Tested by

no test coverage detected