code: def test_invalid_scipy_arg():
      # This error is raised by scipy
      pytest.importorskip("scipy")
      msg = r"boxcar\(\) got an unexpected"
      with pytest.raises(TypeError, match=msg):
          Series(range(3)).rolling(1, win_type="boxcar").mean(foo="bar")
  
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 8 for calling a global function with example usage: test_invalid_scipy_arg() without return types