Skip to content

Commit

Permalink
one more
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Dec 13, 2024
1 parent 947fe74 commit df761c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/pyarrow/tests/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ def test_explicit_schema_decimal(self):
expected = {
'a': [Decimal("1"), Decimal("1.45"), Decimal("-23.456"), None],
}
for type_factory in (pa.decimal128, pa.decimal256):

decimal_types = (pa.decimal32, pa.decimal64, pa.decimal128, pa.decimal256)
for type_factory in decimal_types:
schema = pa.schema([('a', type_factory(9, 4))])
opts = ParseOptions(explicit_schema=schema)
table = self.read_bytes(rows, parse_options=opts)
Expand Down

0 comments on commit df761c8

Please sign in to comment.