code: def test_agg_args(args, kwargs, increment):
      # GH 43357
      def f(x, a=0, b=0, c=0):
          return x + a + 10 * b + 100 * c
  
      s = Series([1, 2])
      msg = (
          "in Series.agg cannot aggregate and has been deprecated. "
          "Use Series.transform to keep behavior unchanged."
      )
      with tm.assert_produces_warning(FutureWarning, match=msg):
          result = s.agg(f, 0, *args, **kwargs)
      expected = s + increment
      tm.assert_series_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, MultiIndex, Series, concat, date_range, timedelta_range
  import pandas._testing
  from pandas.tests.apply.common import series_transform_kernels
label_desc: Use image node_id 7 for calling a global function with example usage: test_agg_args(args, kwargs, increment) and returns: unknown