code: def test_interp_limit_forward(self):
      s = Series([1, 3, np.nan, np.nan, np.nan, 11])
  
      # Provide 'forward' (the default) explicitly here.
      expected = Series([1.0, 3.0, 5.0, 7.0, np.nan, 11.0])
  
      result = s.interpolate(
          method="linear", limit=2, limit_direction="forward"
      )
      tm.assert_series_equal(result, expected)
  
      result = s.interpolate(
          method="linear", limit=2, limit_direction="FORWARD"
      )
      tm.assert_series_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas.util._test_decorators
  import pandas
  from pandas import Index, MultiIndex, Series, date_range, isna
  import pandas._testing
label_desc: Use image node_id 22 for calling the TestSeriesInterpolateData obj's underlying member method code with example usage: obj.test_interp_limit_forward() without return types