Home | History | Annotate | Download | only in test

Lines Matching defs:sqlite

2 # pysqlite2/test/hooks.py: tests for various SQLite-specific hooks
25 import sqlite3 as sqlite
35 con = sqlite.connect(":memory:")
43 con = sqlite.connect(":memory:")
47 except sqlite.ProgrammingError, e:
51 if sqlite.version_info < (3, 2, 1): # old SQLite versions crash on this test
57 con = sqlite.connect(":memory:")
76 except sqlite.OperationalError, e:
83 con = sqlite.connect(":memory:")
103 con = sqlite.connect(":memory:")
117 con = sqlite.connect(":memory:")
123 except sqlite.OperationalError, e:
132 con = sqlite.connect(":memory:")
148 con = sqlite.connect(":memory:")
171 con = sqlite.connect(":memory:")
179 sqlite.OperationalError,
187 con = sqlite.connect(":memory:")