Skip to content

Commit e1556e8

Browse files
committed
Update test: insert new row instead of deleting
1 parent c7a12b3 commit e1556e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_sqlite3/test_dbapi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1380,9 +1380,8 @@ def test_blob_get_empty_slice(self):
13801380
self.assertEqual(self.blob[5:5], b"")
13811381

13821382
def test_blob_get_empty_slice_oob_indices(self):
1383-
self.cx.execute("delete from test")
13841383
self.cx.execute("insert into test(b) values (?)", (b"abc",))
1385-
with self.cx.blobopen("test", "b", 1) as blob:
1384+
with self.cx.blobopen("test", "b", 2) as blob:
13861385
self.assertEqual(blob[5:-5], b"")
13871386

13881387
def test_blob_get_slice_negative_index(self):

0 commit comments

Comments
 (0)