MCPcopy
hub / github.com/pytest-dev/pytest / test_map_over_list

Method test_map_over_list

testing/python/approx.py:1461–1462  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1459 assert _recursive_sequence_map(sqrt, []) == []
1460
1461 def test_map_over_list(self):
1462 assert _recursive_sequence_map(sqrt, [4, 16, 25, 676]) == [2, 4, 5, 26]
1463
1464 def test_map_over_tuple(self):
1465 assert _recursive_sequence_map(sqrt, (4, 16, 25, 676)) == (2, 4, 5, 26)

Callers

nothing calls this directly

Calls 1

_recursive_sequence_mapFunction · 0.90

Tested by

no test coverage detected