code: def test_convert_datetime_type_pandas_types() -> None:
      assert bus.convert_datetime_type(pd.Timestamp(3000000)) == 3.0
      assert (
          bus.convert_datetime_type(pd.Period("1900", "A-DEC"))
          == -2208988800000.0
      )
      assert bus.convert_datetime_type(
          pd.Period("1900", "A-DEC")
      ) == bus.convert_datetime_type(np.datetime64("1900-01-01"))
      assert np.isnan(bus.convert_datetime_type(pd.NaT))
  
imports: from __future__ import annotations
  import pytest
  import datetime
  from math import inf, nan
  import numpy
  import pandas
  import pytz
  from tests.support.util.env import envset
  import bokeh.util.serialization
label_desc: Use image node_id 13 for calling a global function with example usage: test_convert_datetime_type_pandas_types() without return types