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

Method test_map_over_tuple

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

Source from the content-addressed store, hash-verified

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)
1466
1467 def test_map_over_nested_lists(self):
1468 assert _recursive_sequence_map(sqrt, [4, [25, 64], [[49]]]) == [

Callers

nothing calls this directly

Calls 1

_recursive_sequence_mapFunction · 0.90

Tested by

no test coverage detected