()
| 3281 | |
| 3282 | |
| 3283 | def test_invalid_tensor_constructor_repr(): |
| 3284 | # ARROW-2638: prevent calling extension class constructors directly |
| 3285 | with pytest.raises(TypeError): |
| 3286 | repr(pa.Tensor([1])) |
| 3287 | |
| 3288 | |
| 3289 | def test_invalid_tensor_construction(): |