MCPcopy Create free account
hub / github.com/numpy/numpy / test_overlapping_assignments

Function test_overlapping_assignments

numpy/core/tests/test_mem_overlap.py:69–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67
68
69def test_overlapping_assignments():
70 # Test automatically generated assignments which overlap in memory.
71
72 inds = _indices(ndims)
73
74 for ind in inds:
75 srcidx = tuple([a[0] for a in ind])
76 dstidx = tuple([a[1] for a in ind])
77
78 _check_assignment(srcidx, dstidx)
79
80
81@pytest.mark.slow

Callers

nothing calls this directly

Calls 2

_indicesFunction · 0.85
_check_assignmentFunction · 0.85

Tested by

no test coverage detected