()
| 485 | @pytest.mark.xfail(reason="Type inference for uint64 not implemented", |
| 486 | raises=OverflowError) |
| 487 | def test_uint64_max_convert(): |
| 488 | data = [0, np.iinfo(np.uint64).max] |
| 489 | |
| 490 | arr = pa.array(data, type=pa.uint64()) |
| 491 | expected = pa.array(np.array(data, dtype='uint64')) |
| 492 | assert arr.equals(expected) |
| 493 | |
| 494 | arr_inferred = pa.array(data) |
| 495 | assert arr_inferred.equals(expected) |
| 496 | |
| 497 | |
| 498 | @pytest.mark.parametrize("bits", [8, 16, 32, 64]) |