code: def test_single_pass(self):
      distances = [0, 1, 2, 5]
      gaps = [0, 1, 2, 0, 1]
      test_matr = np.zeros([20, 50]) + 1e-12
      length = 12
      line = _gen_ridge_line(
          [0, 25], test_matr.shape, length, distances, gaps
      )
      test_matr[line[0], line[1]] = 1
      max_distances = np.full(20, max(distances))
      identified_lines = _identify_ridge_lines(
          test_matr, max_distances, max(gaps) + 1
      )
      assert_array_equal(identified_lines, [line])
  
imports: 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.signal._peak_finding import argrelmax, argrelmin, peak_prominences, peak_widths, _unpack_condition_args, find_peaks, find_peaks_cwt, _identify_ridge_lines
  from scipy.signal.windows import gaussian
  from scipy.signal._peak_finding_utils import _local_maxima_1d, PeakPropertyWarning
label_desc: Use image node_id 3 for calling the TestRidgeLines obj's underlying member method code with example usage: obj.test_single_pass() without return types