(self)
| 522 | assert_array_equal(res, desired) |
| 523 | |
| 524 | def test_2D_array2(self): |
| 525 | a = np.array([1, 2]) |
| 526 | b = np.array([1, 2]) |
| 527 | res = dstack([a, b]) |
| 528 | desired = np.array([[[1, 1], [2, 2]]]) |
| 529 | assert_array_equal(res, desired) |
| 530 | |
| 531 | def test_generator(self): |
| 532 | with pytest.raises(TypeError, match="arrays to stack must be"): |
nothing calls this directly
no test coverage detected