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

Function test_values_iter

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

Source from the content-addressed store, hash-verified

386
387
388def test_values_iter():
389 obj = pm.eval("({ a: 123, b: 'test' })")
390 result = []
391 for i in obj.values():
392 result.append(i)
393 assert result == [123, 'test']
394
395
396def test_values_iter_reversed():

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected