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

Function _make_strided_cases

numpy/linalg/tests/test_linalg.py:324–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322
323
324def _make_strided_cases():
325 new_cases = []
326 for case in CASES:
327 for a, a_label in _stride_comb_iter(case.a):
328 for b, b_label in _stride_comb_iter(case.b):
329 new_case = LinalgCase(case.name + "_" + a_label + "_" + b_label, a, b,
330 tags=case.tags | {'strided'})
331 new_cases.append(new_case)
332 return new_cases
333
334
335CASES += _make_strided_cases()

Callers 1

test_linalg.pyFile · 0.85

Calls 2

_stride_comb_iterFunction · 0.85
LinalgCaseClass · 0.85

Tested by

no test coverage detected