Browse Source

bpo-27645: Skip test_bad_target_in_transaction if SQLite == 3.8.7.1 (GH-6067)

pull/5927/merge
Berker Peksag 8 years ago
committed by GitHub
parent
commit
7280a4eef5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Lib/sqlite3/test/backup.py

2
Lib/sqlite3/test/backup.py

@ -37,6 +37,8 @@ class BackupTests(unittest.TestCase):
self.cx.backup(bck)
def test_bad_target_in_transaction(self):
if sqlite.sqlite_version_info == (3, 8, 7, 1):
self.skipTest('skip until we debug https://bugs.python.org/issue27645#msg313562')
bck = sqlite.connect(':memory:')
bck.execute('CREATE TABLE bar (key INTEGER)')
bck.executemany('INSERT INTO bar (key) VALUES (?)', [(3,), (4,)])

Loading…
Cancel
Save