code: def test_long_date_range_12461() -> None:
      result = pl.date_range(
          date(1900, 1, 1), date(2300, 1, 1), "1d", eager=True
      )
      assert result[0] == date(1900, 1, 1)
      assert result[-1] == date(2300, 1, 1)
      assert (result.diff()[1:].dt.total_days() == 1).all()
  
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 17 for calling a global function with example usage: test_long_date_range_12461() without return types