code: def test_divide_by_measurement_zero(module, workspace):
      module.rescale_method.value = (
          "Divide each image by a previously calculated value"
      )
  
      module.divisor_measurement.value = "foo"
  
      measurements = workspace.measurements
  
      measurements.add_image_measurement("foo", [0.0])
  
      with pytest.raises(ZeroDivisionError):
          module.run(workspace)
  
imports: import base64
  import io
  import zlib
  import numpy
  import pytest
  import skimage.data
  import skimage.exposure
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  import cellprofiler_core.modules.injectimage
  import cellprofiler.modules.rescaleintensity
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
label_desc: Use image node_id 16 for calling a global function with example usage: test_divide_by_measurement_zero(module, workspace) without return types