[lang-ref] ( dict_key_exists ) ( python )
def test_dict_key_exists():
d = { 'A': 1, 'B': 2, 'C': 3 }
assert 'A' in d
assert 'D' not in d
def test_dict_key_exists():
d = { 'A': 1, 'B': 2, 'C': 3 }
assert 'A' in d
assert 'D' not in d