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

Method test_anydbm_keys

Lib/test/test_dbm.py:111–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109 f.close()
110
111 def test_anydbm_keys(self):
112 self.init_db()
113 f = dbm.open(_fname, 'r')
114 keys = self.keys_helper(f)
115 f.close()
116
117 def test_empty_value(self):
118 if getattr(dbm._defaultmod, 'library', None) == 'Berkeley DB':

Callers

nothing calls this directly

Calls 4

init_dbMethod · 0.95
keys_helperMethod · 0.95
openMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected