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:1668–1672  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1666
1667
1668def 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
1675def 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