summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3/test
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2018-03-11 00:38:50 (GMT)
committerGitHub <noreply@github.com>2018-03-11 00:38:50 (GMT)
commit7280a4eef5fbe17e8ac82afd71fe6e51843240a5 (patch)
treedba027e2c307311caa5acef3bc05f9d83fc47905 /Lib/sqlite3/test
parentd7aed4102d2a40c74553240c7f03585624d27aea (diff)
downloadcpython-7280a4eef5fbe17e8ac82afd71fe6e51843240a5.zip
cpython-7280a4eef5fbe17e8ac82afd71fe6e51843240a5.tar.gz
cpython-7280a4eef5fbe17e8ac82afd71fe6e51843240a5.tar.bz2
bpo-27645: Skip test_bad_target_in_transaction if SQLite == 3.8.7.1 (GH-6067)
Diffstat (limited to 'Lib/sqlite3/test')
-rw-r--r--Lib/sqlite3/test/backup.py2
1 files changed, 2 insertions, 0 deletions
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,)])