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

Method test_readwrite_unique_key

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

Source from the content-addressed store, hash-verified

158 return keys, vals
159
160 def test_readwrite_unique_key(self):
161 self.db["key"] = "value"
162 self.db["key"] = "other"
163 keys, vals = self.db_content()
164 self.assertEqual(keys, [b"key"])
165 self.assertEqual(vals, [b"other"])
166
167 def test_readwrite_delete(self):
168 self.db["key"] = "value"

Callers

nothing calls this directly

Calls 2

db_contentMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected