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

Function test_temporal_values

python/pyarrow/tests/test_scalars.py:361–364  ·  view source on GitHub ↗
(value, time_type: pa.DataType)

Source from the content-addressed store, hash-verified

359 (None, pa.month_day_nano_interval()),
360])
361def test_temporal_values(value, time_type: pa.DataType):
362 time_scalar = pa.scalar(value, type=time_type)
363 time_scalar.validate(full=True)
364 assert time_scalar.value == value
365
366
367def test_cast():

Callers

nothing calls this directly

Calls 2

scalarMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected