MCPcopy Index your code
hub / github.com/numpy/numpy / test_overlapping_assignments

Function test_overlapping_assignments

numpy/_core/tests/test_mem_overlap.py:67–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

_indicesFunction · 0.85
_check_assignmentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…