summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sqlite3/test_backup.py
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend.aasland@protonmail.com>2023-06-18 22:29:08 (GMT)
committerGitHub <noreply@github.com>2023-06-18 22:29:08 (GMT)
commit6849acb3feacda63ee43f1dc9be28fac1075ca7d (patch)
tree6d188e17bbf6563945a32860ae11e5c47a55941b /Lib/test/test_sqlite3/test_backup.py
parentbc07c8f096791d678ca5c1e3486cb9648f7a027b (diff)
downloadcpython-6849acb3feacda63ee43f1dc9be28fac1075ca7d.zip
cpython-6849acb3feacda63ee43f1dc9be28fac1075ca7d.tar.gz
cpython-6849acb3feacda63ee43f1dc9be28fac1075ca7d.tar.bz2
gh-105875: Require SQLite 3.15.2 or newer (#105876)
SQLite 3.15.2 was released 2016-11-28.
Diffstat (limited to 'Lib/test/test_sqlite3/test_backup.py')
-rw-r--r--Lib/test/test_sqlite3/test_backup.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_sqlite3/test_backup.py b/Lib/test/test_sqlite3/test_backup.py
index 384dd92..87ab29c 100644
--- a/Lib/test/test_sqlite3/test_backup.py
+++ b/Lib/test/test_sqlite3/test_backup.py
@@ -50,8 +50,6 @@ class BackupTests(unittest.TestCase):
bck.executemany('INSERT INTO bar (key) VALUES (?)', [(3,), (4,)])
with self.assertRaises(sqlite.OperationalError) as cm:
self.cx.backup(bck)
- if sqlite.sqlite_version_info < (3, 8, 8):
- self.assertEqual(str(cm.exception), 'target is in transaction')
def test_keyword_only_args(self):
with self.assertRaises(TypeError):