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

Function test_keys_repr

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

Source from the content-addressed store, hash-verified

229
230
231def test_keys_repr():
232 car = pm.eval('({"brand": "Ford","model": "Mustang","year": 1964})')
233 a = car.keys()
234 assert str(a) == "dict_keys(['brand', 'model', 'year'])"
235
236
237def test_keys_substract():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected