code: def test_threshold_li_uniform_image():
      workspace, module = make_workspace(0.1 * numpy.ones((10, 10)))
  
      image = workspace.image_set.get_image(INPUT_IMAGE_NAME)
  
      module.threshold_scope.value = (
          cellprofiler.modules.threshold.TS_GLOBAL
      )
  
      module.global_operation.value = (
          cellprofiler.modules.threshold.TM_LI
      )
  
      t_local, t_global, _, _, _ = module.get_threshold(
          image, workspace
      )
  
      numpy.testing.assert_almost_equal(t_local, 0.1)
  
      numpy.testing.assert_almost_equal(t_global, 0.1)
  
imports: import io
  import centrosome.filter
  import centrosome.otsu
  import centrosome.threshold
  import numpy
  import numpy.testing
  import skimage.filters
  import skimage.filters.rank
  import skimage.morphology
  import cellprofiler.modules.threshold
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
  from cellprofiler_core.constants.measurement import FF_ORIG_THRESHOLD
  from cellprofiler_core.constants.module._identify import TS_GLOBAL
  import cellprofiler_library.modules
  import cellprofiler_library.functions
  import tests.frontend.modules
label_desc: Use image node_id 20 for calling a global function with example usage: test_threshold_li_uniform_image() without return types