code: def test_construct_timezone_scalar_error():
      pd_scalar = pd.Timestamp(
          "1970-01-01 00:00:00.000000001", tz="utc"
      )
      with pytest.raises(NotImplementedError):
          cudf.utils.dtypes.to_cudf_compatible_scalar(pd_scalar)
  
      date_scalar = datetime.datetime.now(datetime.timezone.utc)
      with pytest.raises(NotImplementedError):
          cudf.utils.dtypes.to_cudf_compatible_scalar(date_scalar)
  
imports: import datetime
  import re
  from decimal import Decimal
  import numpy
  import pandas
  import pyarrow
  import pytest
  import rmm
  import cudf
  from cudf._lib.copying import get_element
  from cudf.testing._utils import ALL_TYPES, DATETIME_TYPES, NUMERIC_TYPES, TIMEDELTA_TYPES
label_desc: Use image node_id 24 for calling a global function with example usage: test_construct_timezone_scalar_error() without return types