MCPcopy Create free account
hub / github.com/apache/arrow / test_sequence_decimal_no_scale

Function test_sequence_decimal_no_scale

python/pyarrow/tests/test_convert_builtin.py:1645–1649  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1643
1644
1645def 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
1652def test_sequence_decimal_negative():

Callers

nothing calls this directly

Calls 3

typeEnum · 0.50
DecimalMethod · 0.45
arrayMethod · 0.45

Tested by

no test coverage detected