MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / test_keys_contains

Function test_keys_contains

tests/python/test_dict_methods.py:323–327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

321
322
323def test_keys_contains():
324 dishes = pm.eval("({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500})")
325 keys = dishes.keys()
326 assert 'eggs' in keys
327 assert 'egg' not in keys
328
329
330def test_keys_isdisjoint_self():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected