code: def test_date_ranges_single_row_lazy_7110() -> None:
      df = pl.DataFrame(
          {
              "name": ["A"],
              "from": [date(2020, 1, 1)],
              "to": [date(2020, 1, 2)],
          }
      )
      result = df.with_columns(
          pl.date_ranges(
              start=pl.col("from"),
              end=pl.col("to"),
              interval="1d",
              eager=False,
          ).alias("date_range")
      )
      expected = pl.DataFrame(
          {
              "name": ["A"],
              "from": [date(2020, 1, 1)],
              "to": [date(2020, 1, 2)],
              "date_range": [[date(2020, 1, 1), date(2020, 1, 2)]],
          }
      )
      assert_frame_equal(result, 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 6 for calling a global function with example usage: test_date_ranges_single_row_lazy_7110() without return types