code: def test_classify_single_none():
      """Make sure the single measurement mode can handle no objects"""
      workspace, module = make_workspace(
          numpy.zeros((10, 10), int),
          cellprofiler.modules.classifyobjects.BY_SINGLE_MEASUREMENT,
          numpy.zeros((0,), float),
      )
      module.run(workspace)
      for m_name in (
          "Classify_Measurement1_Bin_1",
          "Classify_Measurement1_Bin_2",
          "Classify_Measurement1_Bin_3",
      ):
          m = workspace.measurements.get_current_measurement(
              OBJECTS_NAME, m_name
          )
          assert len(m) == 0
  
imports: import contextlib
  import os
  import pickle
  import tempfile
  import numpy
  import pytest
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT, COLTYPE_INTEGER
  import cellprofiler.modules.classifyobjects
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.setting
  import cellprofiler_core.workspace
label_desc: Use image node_id 4 for calling a global function with example usage: test_classify_single_none() without return types