(self)
| 802 | |
| 803 | # Tests kwargs functions |
| 804 | def test_3d_kwargs(self): |
| 805 | a = arange(12).reshape(2, 2, 3) |
| 806 | |
| 807 | def myfunc(b, offset=0): |
| 808 | return b[1+offset] |
| 809 | |
| 810 | xa = apply_along_axis(myfunc, 2, a, offset=1) |
| 811 | assert_equal(xa, [[2, 5], [8, 11]]) |
| 812 | |
| 813 | |
| 814 | class TestApplyOverAxes: |
nothing calls this directly
no test coverage detected