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

Function test_nonexistent

tests/test_btree.py:48–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def test_nonexistent():
49 N = 8
50 b = BTreeDict()
51 add_keys(b, N)
52 with pytest.raises(KeyError):
53 b[1.5] == False
54 assert b.delete_key(1.5) is None
55 with pytest.raises(KeyError):
56 del b[1.5]
57
58
59def test_in_order():

Callers

nothing calls this directly

Calls 3

add_keysFunction · 0.85
delete_keyMethod · 0.80
BTreeDictClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…