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

Method test_corrupt_force_new

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

Source from the content-addressed store, hash-verified

350 check(fn=self.len_)
351
352 def test_corrupt_force_new(self):
353 with closing(dbm_sqlite3.open(self.filename, "n")) as db:
354 db["foo"] = "write"
355 _ = db[b"foo"]
356 next(iter(db))
357 del db[b"foo"]
358
359
360if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

closingClass · 0.90
openMethod · 0.45

Tested by

no test coverage detected