()
| 1666 | |
| 1667 | |
| 1668 | def test_sequence_decimal_no_scale(): |
| 1669 | data = [decimal.Decimal('1234234983'), decimal.Decimal('8094324')] |
| 1670 | for type in [pa.decimal64, pa.decimal128, pa.decimal256]: |
| 1671 | arr = pa.array(data, type=type(precision=10)) |
| 1672 | assert arr.to_pylist() == data |
| 1673 | |
| 1674 | |
| 1675 | def test_sequence_decimal_negative(): |