code: def test_date_ranges_broadcasting_fail() -> None:
      start = pl.Series(
          [date(2021, 1, 1), date(2021, 1, 2), date(2021, 1, 3)]
      )
      end = pl.Series([date(2021, 1, 2), date(2021, 1, 3)])
  
      with pytest.raises(
          pl.ComputeError,
          match=r"lengths of `start` \(3\) and `end` \(2\) do not match",
      ):
          pl.date_ranges(start, end, eager=True)
  
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 19 for calling a global function with example usage: test_date_ranges_broadcasting_fail() without return types