()
| 77 | |
| 78 | |
| 79 | def test_tensor_base_object(): |
| 80 | tensor = pa.Tensor.from_numpy(np.random.randn(10, 4)) |
| 81 | n = sys.getrefcount(tensor) |
| 82 | array = tensor.to_numpy() # noqa |
| 83 | assert sys.getrefcount(tensor) == n + 1 |
| 84 | |
| 85 | |
| 86 | @pytest.mark.parametrize('dtype_str,arrow_type', tensor_type_pairs) |
nothing calls this directly
no outgoing calls
no test coverage detected