code: def test_date_range_lazy_with_literals() -> None:
      df = pl.DataFrame({"misc": ["x"]}).with_columns(
          pl.date_ranges(
              date(2000, 1, 1),
              date(2023, 8, 31),
              interval="987d",
              eager=False,
          ).alias("dts")
      )
      assert df.rows() == [
          (
              "x",
              [
                  date(2000, 1, 1),
                  date(2002, 9, 14),
                  date(2005, 5, 28),
                  date(2008, 2, 9),
                  date(2010, 10, 23),
                  date(2013, 7, 6),
                  date(2016, 3, 19),
                  date(2018, 12, 1),
                  date(2021, 8, 14),
              ],
          )
      ]
      assert (
          df.rows()[0][1]
          == pd.date_range(
              date(2000, 1, 1), date(2023, 12, 31), freq="987d"
          ).date.tolist()
      )
  
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 4 for calling a global function with example usage: test_date_range_lazy_with_literals() without return types