(self)
| 145 | assert_array_equal(res, desired) |
| 146 | |
| 147 | def test_2D_array(self): |
| 148 | a = array([[1], [2]]) |
| 149 | b = array([[1], [2]]) |
| 150 | res = hstack([a, b]) |
| 151 | desired = array([[1, 1], [2, 2]]) |
| 152 | assert_array_equal(res, desired) |
| 153 | |
| 154 | def test_generator(self): |
| 155 | with pytest.raises(TypeError, match="arrays to stack must be"): |
nothing calls this directly
no test coverage detected