docstr: Test if behavior on signal edges is correct.
docstr_tok: ["Test","if","behavior","on","signal","edges","is","correct","."]
code: def test_signal_edges(self, x):
      """Test if behavior on signal edges is correct."""
      for array in _local_maxima_1d(x):
          assert_equal(array, np.array([]))
          assert_(array.base is None)
  
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 5 for calling the TestLocalMaxima1d obj's underlying member method code with example usage: obj.test_signal_edges(x) without return types