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

Function test_items_repr

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

Source from the content-addressed store, hash-verified

450
451
452def test_items_repr():
453 car = pm.eval('({"brand": "Ford","model": "Mustang","year": 1964})')
454 a = car.items()
455 assert str(a) == "dict_items([('brand', 'Ford'), ('model', 'Mustang'), ('year', 1964.0)])"
456
457
458def test_items_substract():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected