class_docstr: Some tests for local_minima are included as well.
class_docstr_tok: ["Some","tests","for","local_minima","are","included","as","well","."]
docstr: Test results with default configuration and data copied from old unit
  tests for all supported dtypes.
docstr_tok: ["Test","results","with","default","configuration","and","data","copied","from","old","unit","tests","for","all","supported","dtypes","."]
code: def test_dtypes_old(self):
      """
      Test results with default configuration and data copied from old unit
      tests for all supported dtypes.
      """
      data = np.array(
          [
              [10, 11, 13, 14, 14, 15, 14, 14, 13, 11],
              [11, 13, 15, 16, 16, 16, 16, 16, 15, 13],
              [13, 15, 40, 40, 18, 18, 18, 60, 60, 15],
              [14, 16, 40, 40, 19, 19, 19, 60, 60, 16],
              [14, 16, 18, 19, 19, 19, 19, 19, 18, 16],
              [15, 16, 18, 19, 19, 20, 19, 19, 18, 16],
              [14, 16, 18, 19, 19, 19, 19, 19, 18, 16],
              [14, 16, 80, 80, 19, 19, 19, 100, 100, 16],
              [13, 15, 80, 80, 18, 18, 18, 100, 100, 15],
              [11, 13, 15, 16, 16, 16, 16, 16, 15, 13],
          ],
          dtype=np.uint8,
      )
      expected = np.array(
          [
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 1, 1, 0, 0, 0, 1, 1, 0],
              [0, 0, 1, 1, 0, 0, 0, 1, 1, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 0, 0, 0, 1, 0, 0, 0, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 1, 1, 0, 0, 0, 1, 1, 0],
              [0, 0, 1, 1, 0, 0, 0, 1, 1, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          ],
          dtype=bool,
      )
      for dtype in self.supported_dtypes:
          image = data.astype(dtype)
          result = extrema.local_maxima(image)
          assert result.dtype == bool
          assert_equal(result, expected)
  
imports: import math
  import unittest
  import numpy
  from numpy.testing import assert_equal
  from pytest import raises, warns
  from skimage._shared.testing import expected_warnings
  from skimage.morphology import extrema
label_desc: Use image node_id 3 for calling the TestLocalMaxima obj's underlying member method code with example usage: obj.test_dtypes_old() without return types