MCPcopy Create free account
hub / github.com/rthalley/dnspython / test_replace

Function test_replace

tests/test_btree.py:22–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def test_replace():
23 N = 8
24 b = BTreeDict()
25 add_keys(b, N)
26 b[0] = False
27 b[5] = False
28 b[7] = False
29 for key in range(N):
30 if key in {0, 5, 7}:
31 assert b[key] == False
32 else:
33 assert b[key] == True
34
35
36def test_min_max():

Callers

nothing calls this directly

Calls 2

add_keysFunction · 0.85
BTreeDictClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…