code: def test_interpolate_invalid_float_limit(self, nontemporal_method):
      # GH 9217: make sure limit is an integer.
      s = Series([1, 2, np.nan, 4])
      method, kwargs = nontemporal_method
      limit = 2.0
      with pytest.raises(ValueError, match="Limit must be an integer"):
          s.interpolate(limit=limit, method=method, **kwargs)
  
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 19 for calling the TestSeriesInterpolateData obj's underlying member method code with example usage: obj.test_interpolate_invalid_float_limit(nontemporal_method) without return types