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

Method test_simple101

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

Source from the content-addressed store, hash-verified

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')
144 assert_array_equal(
145 apply_along_axis(len, 0, a), len(a) * np.ones(a.shape[1]))
146
147 def test_3d(self):
148 a = np.arange(27).reshape((3, 3, 3))

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
apply_along_axisFunction · 0.90

Tested by

no test coverage detected