code: def test_temporal_values(value, time_type: pa.DataType):
      time_scalar = pa.scalar(value, type=time_type)
      time_scalar.validate(full=True)
      assert time_scalar.value == value
  
imports: import datetime
  import decimal
  import pytest
  import sys
  import weakref
  import numpy
  import pyarrow
  import pyarrow.compute
  from pyarrow.tests import util
label_desc: Use image node_id 15 for calling a global function with example usage: test_temporal_values(value, time_type) without return types