code: def test_date_range_24h_interval_results_in_datetime() -> None:
      with pytest.deprecated_call():
          result = pl.LazyFrame().select(
              date=pl.date_range(
                  date(2022, 1, 1), date(2022, 1, 3), interval="24h"
              )
          )
  
      assert result.schema == {"date": pl.Datetime}
      expected = pl.Series(
          "date",
          [
              datetime(2022, 1, 1),
              datetime(2022, 1, 2),
              datetime(2022, 1, 3),
          ],
      )
      assert_series_equal(result.collect().to_series(), expected)
  
imports: from __future__ import annotations
  from datetime import date, datetime
  from typing import TYPE_CHECKING
  import pandas
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 16 for calling a global function with example usage: test_date_range_24h_interval_results_in_datetime() without return types