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

Method read_helper

Lib/test/test_dbm_dumb.py:155–158  ·  view source on GitHub ↗
(self, f)

Source from the content-addressed store, hash-verified

153
154
155 def read_helper(self, f):
156 keys = self.keys_helper(f)
157 for key in self._dict:
158 self.assertEqual(self._dict[key], f[key])
159
160 def init_db(self):
161 with contextlib.closing(dumbdbm.open(_fname, 'n')) as f:

Callers 3

test_dumbdbm_creationMethod · 0.95
test_dumbdbm_readMethod · 0.95

Calls 2

keys_helperMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected