(self)
| 501 | assert_raises(TypeError, dstack, 1) |
| 502 | |
| 503 | def test_0D_array(self): |
| 504 | a = np.array(1) |
| 505 | b = np.array(2) |
| 506 | res = dstack([a, b]) |
| 507 | desired = np.array([[[1, 2]]]) |
| 508 | assert_array_equal(res, desired) |
| 509 | |
| 510 | def test_1D_array(self): |
| 511 | a = np.array([1]) |
nothing calls this directly
no test coverage detected