code: def test_rolling_functions_window_non_shrinkage(f):
      # GH 7764
      s = Series(range(4))
      s_expected = Series(np.nan, index=s.index)
      df = DataFrame(
          [[1, 5], [3, 2], [3, 9], [-1, 0]], columns=["A", "B"]
      )
      df_expected = DataFrame(
          np.nan, index=df.index, columns=df.columns
      )
  
      s_result = f(s)
      tm.assert_series_equal(s_result, s_expected)
  
      df_result = f(df)
      tm.assert_frame_equal(df_result, df_expected)
  
imports: from datetime import datetime
  import numpy
  import pytest
  import pandas.util._test_decorators
  from pandas import DataFrame, DatetimeIndex, Series, concat, isna, notna
  import pandas._testing
  from pandas.tseries import offsets
label_desc: Use image node_id 12 for calling a global function with example usage: test_rolling_functions_window_non_shrinkage(f) without return types