(self, cls=np.ndarray)
| 181 | ) |
| 182 | |
| 183 | def test_scalar_array(self, cls=np.ndarray): |
| 184 | a = np.ones((6, 3)).view(cls) |
| 185 | res = apply_along_axis(np.sum, 0, a) |
| 186 | assert_(isinstance(res, cls)) |
| 187 | assert_array_equal(res, np.array([6, 6, 6]).view(cls)) |
| 188 | |
| 189 | def test_0d_array(self, cls=np.ndarray): |
| 190 | def sum_to_0d(x): |
no test coverage detected