MCPcopy Index your code
hub / github.com/python/cpython / db_content

Method db_content

Lib/test/test_dbm_sqlite3.py:154–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152 super().tearDown()
153
154 def db_content(self):
155 with closing(sqlite3.connect(self.filename)) as cx:
156 keys = [r[0] for r in cx.execute("SELECT key FROM Dict")]
157 vals = [r[0] for r in cx.execute("SELECT value FROM Dict")]
158 return keys, vals
159
160 def test_readwrite_unique_key(self):
161 self.db["key"] = "value"

Callers 2

test_readwrite_deleteMethod · 0.95

Calls 3

closingClass · 0.90
connectMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected