()
| 1643 | |
| 1644 | |
| 1645 | def test_sequence_decimal_no_scale(): |
| 1646 | data = [decimal.Decimal('1234234983'), decimal.Decimal('8094324')] |
| 1647 | for type in [pa.decimal64, pa.decimal128, pa.decimal256]: |
| 1648 | arr = pa.array(data, type=type(precision=10)) |
| 1649 | assert arr.to_pylist() == data |
| 1650 | |
| 1651 | |
| 1652 | def test_sequence_decimal_negative(): |