mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
Update to pysqlite 2.2.0
This commit is contained in:
parent
a058836e96
commit
72289a616c
17 changed files with 592 additions and 134 deletions
|
|
@ -25,7 +25,7 @@ import os, unittest
|
|||
import sqlite3 as sqlite
|
||||
|
||||
def get_db_path():
|
||||
return "testdb"
|
||||
return "sqlite_testdb"
|
||||
|
||||
class TransactionTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
|
|
@ -47,6 +47,8 @@ class TransactionTests(unittest.TestCase):
|
|||
self.cur2.close()
|
||||
self.con2.close()
|
||||
|
||||
os.unlink(get_db_path())
|
||||
|
||||
def CheckDMLdoesAutoCommitBefore(self):
|
||||
self.cur1.execute("create table test(i)")
|
||||
self.cur1.execute("insert into test(i) values (5)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue