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

Method test_simple

numpy/lib/tests/test_shape_base.py:137–140  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135
136class TestApplyAlongAxis:
137 def test_simple(self):
138 a = np.ones((20, 10), 'd')
139 assert_array_equal(
140 apply_along_axis(len, 0, a), len(a) * np.ones(a.shape[1]))
141
142 def test_simple101(self):
143 a = np.ones((10, 101), 'd')

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
apply_along_axisFunction · 0.90

Tested by

no test coverage detected