()
| 143 | |
| 144 | |
| 145 | def test_stack(): |
| 146 | # 2018-04-29: copied here from core.tests.test_shape_base |
| 147 | # check np.matrix cannot be stacked |
| 148 | m = np.matrix([[1, 2], [3, 4]]) |
| 149 | assert_raises_regex(ValueError, 'shape too large to be a matrix', |
| 150 | np.stack, [m, m]) |
| 151 | |
| 152 | |
| 153 | def test_object_scalar_multiply(): |
nothing calls this directly
no test coverage detected