Skip to content

Commit 767a246

Browse files
committed
Python: Add sqlite3 test
1 parent f8ad2ec commit 767a246

File tree

1 file changed

+8
-0
lines changed
  • python/ql/test/experimental/library-tests/frameworks/stdlib

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import sqlite3
2+
db = sqlite3.connect("example.db")
3+
4+
# non standard
5+
db.execute("some sql", (42,)) # $ MISSING: getSql="some sql"
6+
7+
cursor = db.cursor()
8+
cursor.execute("some sql", (42,)) # $ MISSING: getSql="some sql"

0 commit comments

Comments
 (0)