code: def test_keyword_quantile_deprecated():
      # GH #52550
      s = Series([1, 2, 3, 4])
      with tm.assert_produces_warning(FutureWarning):
          s.rolling(2).quantile(quantile=0.4)
  
file_path: pandas/pandas/tests/window/test_rolling_quantile.py
imports: from functools import partial
  import numpy
  import pytest
  from pandas import DataFrame, Series, concat, isna, notna
  import pandas._testing
  from pandas.tseries import offsets
label_desc: Use image node_id 11 for calling a global function with example usage: test_keyword_quantile_deprecated() without return types