MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_blob_32bit_rowid

Method test_blob_32bit_rowid

Lib/test/test_sqlite3/test_dbapi.py:1545–1551  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1543 blob.read)
1544
1545 def test_blob_32bit_rowid(self):
1546 # gh-100370: we should not get an OverflowError for 32-bit rowids
1547 with memory_database() as cx:
1548 rowid = 2**32
1549 cx.execute("create table t(t blob)")
1550 cx.execute("insert into t(rowid, t) values (?, zeroblob(1))", (rowid,))
1551 cx.blobopen('t', 't', rowid)
1552
1553
1554@threading_helper.requires_working_threading()

Callers

nothing calls this directly

Calls 3

memory_databaseFunction · 0.85
blobopenMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected