()
| 1673 | |
| 1674 | |
| 1675 | def test_sequence_decimal_negative(): |
| 1676 | data = [decimal.Decimal('-1234.234983'), decimal.Decimal('-8.094324')] |
| 1677 | for type in [pa.decimal64, pa.decimal128, pa.decimal256]: |
| 1678 | arr = pa.array(data, type=type(precision=10, scale=6)) |
| 1679 | assert arr.to_pylist() == data |
| 1680 | |
| 1681 | |
| 1682 | def test_sequence_decimal_no_whole_part(): |