(self)
| 880 | class TestApplyAlongAxis: |
| 881 | # Tests 2D functions |
| 882 | def test_3d(self): |
| 883 | a = arange(12.).reshape(2, 2, 3) |
| 884 | |
| 885 | def myfunc(b): |
| 886 | return b[1] |
| 887 | |
| 888 | xa = apply_along_axis(myfunc, 2, a) |
| 889 | assert_equal(xa, [[1, 4], [7, 10]]) |
| 890 | |
| 891 | # Tests kwargs functions |
| 892 | def test_3d_kwargs(self): |
nothing calls this directly
no test coverage detected