code: def test_datelike_identity() -> None:
      for s in [
          pl.Series([datetime(year=2000, month=1, day=1)]),
          pl.Series([timedelta(hours=2)]),
          pl.Series([date(year=2000, month=1, day=1)]),
      ]:
          assert s.map_elements(lambda x: x).to_list() == s.to_list()
  
imports: from __future__ import annotations
  import json
  from datetime import date, datetime, timedelta
  import numpy
  import pytest
  import polars
  from polars.exceptions import PolarsInefficientMapWarning
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_datelike_identity() without return types