parent
2f50b05798
commit
df2eab9f27
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ class DMLStatementDetectionTestCase(unittest.TestCase):
|
||||||
conn.execute('vacuum')
|
conn.execute('vacuum')
|
||||||
self.assertFalse(conn.in_transaction)
|
self.assertFalse(conn.in_transaction)
|
||||||
|
|
||||||
def test_dml_detection_vacuum(self):
|
def test_dml_detection_pragma(self):
|
||||||
conn = sqlite.connect(get_db_path())
|
conn = sqlite.connect(get_db_path())
|
||||||
conn.execute('pragma journal_mode=\'wal\'')
|
conn.execute('pragma journal_mode=\'wal\'')
|
||||||
jmode, = conn.execute('pragma journal_mode').fetchone()
|
jmode, = conn.execute('pragma journal_mode').fetchone()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue