code: def test_consistent_win_type_freq(arg):
      # GH 15969
      pytest.importorskip("scipy")
      s = Series(range(1))
      with pytest.raises(ValueError, match="Invalid win_type freq"):
          s.rolling(arg, win_type="freq")
  
imports: import numpy
  import pytest
  from pandas import DataFrame, Series, Timedelta, concat, date_range
  import pandas._testing
  from pandas.api.indexers import BaseIndexer
label_desc: Use image node_id 12 for calling a global function with example usage: test_consistent_win_type_freq(arg) without return types