docstr: Test behavior of prominence and width calculation if the given window
  length is smaller than a peak's plateau size.
  
  Regression test for gh-9110.
docstr_tok: ["Test","behavior","of","prominence","and","width","calculation","if","the","given","window","length","is","smaller","than","a","peak","'s","plateau","size",".","Regression","test","for","gh-9110","."]
code: def test_wlen_smaller_plateau(self):
      """
      Test behavior of prominence and width calculation if the given window
      length is smaller than a peak's plateau size.
  
      Regression test for gh-9110.
      """
      peaks, props = find_peaks(
          [0, 1, 1, 1, 0],
          prominence=(None, None),
          width=(None, None),
          wlen=2,
      )
      assert_equal(peaks, 2)
      assert_equal(props["prominences"], 0)
      assert_equal(props["widths"], 0)
      assert_equal(props["width_heights"], 1)
      for key in ("left_bases", "right_bases", "left_ips", "right_ips"):
          assert_equal(props[key], peaks)
  
imports: from __future__ import division, print_function, absolute_import
  import copy
  import numpy
  from numpy.testing import assert_, assert_equal, assert_allclose, assert_array_equal
  import pytest
  from pytest import raises, warns
  from scipy._lib.six import xrange
  from scipy.signal._peak_finding import argrelmax, argrelmin, peak_prominences, peak_widths, _unpack_condition_args, find_peaks, find_peaks_cwt, _identify_ridge_lines
  from scipy.signal._peak_finding_utils import _local_maxima_1d, PeakPropertyWarning
label_desc: Use image node_id 10 for calling the TestFindPeaks obj's underlying member method code with example usage: obj.test_wlen_smaller_plateau() without return types