code: def test_interp_fillna_methods(self, axis, multiblock, method):
      # GH 12918
      df = DataFrame(
          {
              "A": [1.0, 2.0, 3.0, 4.0, np.nan, 5.0],
              "B": [2.0, 4.0, 6.0, np.nan, 8.0, 10.0],
              "C": [3.0, 6.0, 9.0, np.nan, np.nan, 30.0],
          }
      )
      if multiblock:
          df["D"] = np.nan
          df["E"] = 1.0
  
      method2 = method if method != "pad" else "ffill"
      expected = getattr(df, method2)(axis=axis)
      msg = f"DataFrame.interpolate with method={method} is deprecated"
      with tm.assert_produces_warning(FutureWarning, match=msg):
          result = df.interpolate(method=method, axis=axis)
      tm.assert_frame_equal(result, expected)
  
imports: import numpy
  import pytest
  from pandas._config import using_pyarrow_string_dtype
  from pandas.errors import ChainedAssignmentError
  import pandas.util._test_decorators
  from pandas import DataFrame, NaT, Series, date_range
  import pandas._testing
label_desc: Use image node_id 24 for calling the TestDataFrameInterpolate obj's underlying member method code with example usage: obj.test_interp_fillna_methods(axis, multiblock, method) without return types