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

Method keys_helper

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

Source from the content-addressed store, hash-verified

163 f[k] = self._dict[k]
164
165 def keys_helper(self, f):
166 keys = sorted(f.keys())
167 dkeys = sorted(self._dict.keys())
168 self.assertEqual(keys, dkeys)
169 return keys
170
171 # Perform randomized operations. This doesn't make assumptions about
172 # what *might* fail.

Callers 2

test_dumbdbm_keysMethod · 0.95
read_helperMethod · 0.95

Calls 3

sortedFunction · 0.85
keysMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected