We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7a12b3 commit e1556e8Copy full SHA for e1556e8
Lib/test/test_sqlite3/test_dbapi.py
@@ -1380,9 +1380,8 @@ def test_blob_get_empty_slice(self):
1380
self.assertEqual(self.blob[5:5], b"")
1381
1382
def test_blob_get_empty_slice_oob_indices(self):
1383
- self.cx.execute("delete from test")
1384
self.cx.execute("insert into test(b) values (?)", (b"abc",))
1385
- with self.cx.blobopen("test", "b", 1) as blob:
+ with self.cx.blobopen("test", "b", 2) as blob:
1386
self.assertEqual(blob[5:-5], b"")
1387
1388
def test_blob_get_slice_negative_index(self):
0 commit comments