MCPcopy Index your code
hub / github.com/PyMySQL/mysqlclient / test_multi_statements_default_true

Function test_multi_statements_default_true

tests/test_connection.py:8–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8def test_multi_statements_default_true():
9 conn = connection_factory()
10 cursor = conn.cursor()
11
12 cursor.execute("select 17; select 2")
13 rows = cursor.fetchall()
14 assert rows == ((17,),)
15
16
17def test_multi_statements_false():

Callers

nothing calls this directly

Calls 4

connection_factoryFunction · 0.90
cursorMethod · 0.80
executeMethod · 0.80
fetchallMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…