code: def test_interp_nonmono_raise(self):
      pytest.importorskip("scipy")
      s = Series([1, np.nan, 3], index=[0, 2, 1])
      msg = "krogh interpolation requires that the index be monotonic"
      with pytest.raises(ValueError, match=msg):
          s.interpolate(method="krogh")
  
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 34 for calling the TestSeriesInterpolateData obj's underlying member method code with example usage: obj.test_interp_nonmono_raise() without return types