()
| 34 | |
| 35 | |
| 36 | def test_chunked_array_to_np(): |
| 37 | data = pa.chunked_array([ |
| 38 | [1, 2, 3], |
| 39 | [4, 5, 6], |
| 40 | [] |
| 41 | ]) |
| 42 | msg = "Cannot return a numpy.ndarray if NumPy is not present" |
| 43 | |
| 44 | with pytest.raises(ImportError, match=msg): |
| 45 | data.to_numpy() |
| 46 | |
| 47 | |
| 48 | def test_tensor_to_np(): |
nothing calls this directly
no test coverage detected