code: def test_datetime_range_end_of_month_5441(
      closed: ClosedInterval, expected_values: list[datetime]
  ) -> None:
      start = date(2020, 1, 31)
      stop = date(2020, 3, 31)
      result = pl.datetime_range(
          start, stop, interval="1mo", closed=closed, eager=True
      )
      expected = pl.Series("literal", expected_values)
      assert_series_equal(result, expected)
  
imports: from __future__ import annotations
  from datetime import date, datetime, timedelta
  from typing import TYPE_CHECKING
  import pytest
  import polars
  from polars.datatypes import DTYPE_TEMPORAL_UNITS
  from polars.exceptions import ComputeError, TimeZoneAwareConstructorWarning
  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_datetime_range_end_of_month_5441(closed, expected_values) without return types