code: def test_selector_temporal(df: pl.DataFrame) -> None:
      assert df.select(cs.temporal()).schema == {
          "ghi": pl.Time,
          "JJK": pl.Date,
          "Lmn": pl.Duration,
          "opp": pl.Datetime("ms"),
      }
      all_columns = set(df.columns)
      assert set(df.select(~cs.temporal()).columns) == (
          all_columns - {"ghi", "JJK", "Lmn", "opp"}
      )
      assert df.select(cs.time()).schema == {"ghi": pl.Time}
      assert df.select(cs.date() | cs.time()).schema == {
          "ghi": pl.Time,
          "JJK": pl.Date,
      }
  
imports: from typing import Any
  import pytest
  import polars
  import polars.selectors
  from polars.selectors import expand_selector, is_selector
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 19 for calling a global function with example usage: test_selector_temporal(df) without return types