code: def test_missing_object():
      # Regression test of issue 434
      #
      # Catch case of no pixels for an object
      #
      labels = numpy.zeros((10, 10), int)
      labels[2, 2] = 1
      labels[2, 3] = 3
      workspace, module = make_workspace(
          labels,
          cellprofiler.modules.measureobjectneighbors.D_ADJACENT,
          5,
      )
      module.run(workspace)
      m = workspace.measurements
      neighbors = m.get_current_measurement(
          OBJECTS_NAME, "Neighbors_NumberOfNeighbors_Adjacent"
      )
      numpy.testing.assert_array_equal(neighbors, [1, 0, 1])
      pct = m.get_current_measurement(
          OBJECTS_NAME, "Neighbors_PercentTouching_Adjacent"
      )
      numpy.testing.assert_array_almost_equal(pct, [100.0, 0, 100.0])
      fo = m.get_current_measurement(
          OBJECTS_NAME, "Neighbors_FirstClosestObjectNumber_Adjacent"
      )
      numpy.testing.assert_array_equal(fo, [3, 0, 1])
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import COLTYPE_INTEGER, COLTYPE_FLOAT, NEIGHBORS, R_FIRST_OBJECT_NUMBER, R_SECOND_OBJECT_NUMBER
  from cellprofiler_core.measurement import RelationshipKey
  import cellprofiler.modules.measureobjectneighbors
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 23 for calling a global function with example usage: test_missing_object() without return types