From 7280a4eef5fbe17e8ac82afd71fe6e51843240a5 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Sun, 11 Mar 2018 03:38:50 +0300 Subject: bpo-27645: Skip test_bad_target_in_transaction if SQLite == 3.8.7.1 (GH-6067) --- Lib/sqlite3/test/backup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/sqlite3/test/backup.py b/Lib/sqlite3/test/backup.py index 784702f..2a21489 100644 --- a/Lib/sqlite3/test/backup.py +++ b/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,)]) -- cgit v0.12