Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5930499

Browse files
committed
Python: Add test for missing .executescript SQL method
1 parent 170a93c commit 5930499

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • python/ql/test/library-tests/frameworks/stdlib

python/ql/test/library-tests/frameworks/stdlib/pep249.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
cursor = db.cursor()
88
cursor.execute("some sql", (42,)) # $ getSql="some sql"
9+
cursor.executescript("sql") # $ MISSING: getSql="sql"
10+
cursor.executescript(sql_script="sql") # $ MISSING: getSql="sql"
911

1012
import sqlite3.dbapi2
1113
conn = sqlite3.dbapi2.connect()

0 commit comments

Comments
 (0)