code: def test_axis1(raw):
      # GH 45912
      df = DataFrame([1, 2])
      msg = "Support for axis=1 in DataFrame.rolling is deprecated"
      with tm.assert_produces_warning(FutureWarning, match=msg):
          result = df.rolling(window=1, axis=1).apply(np.sum, raw=raw)
      expected = DataFrame([1.0, 2.0])
      tm.assert_frame_equal(result, expected)
  
imports: import numpy
  import pytest
  from pandas import DataFrame, Index, MultiIndex, Series, Timestamp, concat, date_range, isna, notna
  import pandas._testing
  from pandas.tseries import offsets
label_desc: Use image node_id 21 for calling a global function with example usage: test_axis1(raw) without return types