code: def test_missing_micro_batch(ds_config):
      del ds_config["elasticity"]["micro_batch_sizes"]
      with pytest.raises(deepspeed.elasticity.config.ElasticityError):
          deepspeed.elasticity.compute_elastic_config(
              ds_config=ds_config, target_deepspeed_version=ds_version
          )
  
imports: import pytest
  import deepspeed
  from unit.common import DistributedTest
  from deepspeed.git_version_info import version
  import os
  from unit.simple_model import SimpleModel
  from deepspeed.ops.op_builder import FusedAdamBuilder
label_desc: Use image node_id 9 for calling a global function with example usage: test_missing_micro_batch(ds_config) without return types