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

(cherry picked from commit 7280a4eef5)

Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-03-10 16:59:11 -08:00 committed by Berker Peksag
parent 3ca5efcef5
commit c546a62c4d

View file

@ -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,)])