code: def test_date_range_name() -> None:
      result_eager = pl.date_range(
          date(2020, 1, 1), date(2020, 1, 3), eager=True
      )
      assert result_eager.name == "literal"
  
      start = pl.Series("left", [date(2020, 1, 1)])
      result_lazy = pl.select(
          pl.date_range(start, date(2020, 1, 3), eager=False)
      ).to_series()
      assert result_lazy.name == "left"
  
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 8 for calling a global function with example usage: test_date_range_name() without return types