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

Function test_date32_overflow

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

Source from the content-addressed store, hash-verified

968
969
970def test_date32_overflow():
971 # Overflow
972 data3 = [2**32, None]
973 with pytest.raises((OverflowError, pa.ArrowException)):
974 pa.array(data3, type=pa.date32())
975
976
977@pytest.mark.parametrize(('time_type', 'unit', 'int_type'), [

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected