code: def test_rolling_weighted_quantile_10031() -> None:
      assert_series_equal(
          pl.Series([1, 2]).rolling_median(
              window_size=2, weights=[0, 1]
          ),
          pl.Series([None, 2.0]),
      )
  
      assert_series_equal(
          pl.Series([1, 2, 3, 5]).rolling_quantile(
              0.7, "linear", 3, [0.1, 0.3, 0.6]
          ),
          pl.Series([None, None, 2.55, 4.1]),
      )
  
      assert_series_equal(
          pl.Series([1, 2, 3, 5, 8]).rolling_quantile(
              0.7, "linear", 4, [0.1, 0.2, 0, 0.3]
          ),
          pl.Series([None, None, None, 3.5, 5.5]),
      )
  
imports: from __future__ import annotations
  from datetime import date, datetime, timedelta
  from typing import TYPE_CHECKING
  import numpy
  import pytest
  from numpy import nan
  import polars
  from polars.exceptions import ComputeError
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 18 for calling a global function with example usage: test_rolling_weighted_quantile_10031() without return types