code: def test_none_operation():
      # In this case, just multiply the array by a constant
      def fn(module, workspace):
          module.operands[0].multiplicand.value = 2
  
      measurements = run_workspace(
          cellprofiler.modules.calculatemath.O_NONE,
          False,
          numpy.array([1, 2, 3]),
          False,
          numpy.array([1, 4, 9]),
          fn,
      )
      assert not measurements.has_feature(
          "Image", MATH_OUTPUT_MEASUREMENTS
      )
      # There should be only one operand and a measurement for that operand only
      assert len(OBJECT), 1
      assert measurements.has_feature(
          OBJECT[0], MATH_OUTPUT_MEASUREMENTS
      )
      # Check the operation result
      data = measurements.get_current_measurement(
          OBJECT[0], MATH_OUTPUT_MEASUREMENTS
      )
      assert round(abs(data[0] - 2), 7) == 0
      assert round(abs(data[1] - 4), 7) == 0
      assert round(abs(data[2] - 6), 7) == 0
  
imports: import numpy
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT, R_PARENT
  import cellprofiler.modules.calculatemath
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
label_desc: Use image node_id 20 for calling a global function with example usage: test_none_operation() without return types