code: def testNoWarningStartInTheMiddle(self):
      scheduler = ScheduledHyperParamSetter(
          ObjAttrParam(self._param_obj, ParamObject.PARAM_NAME),
          [(10, 0.3), (20, 1.0), (30, 1.5)],
      )
      with unittest.mock.patch(
          "tensorpack.utils.logger.warning"
      ) as warning:
          self._create_trainer_with_scheduler(
              scheduler, 1, 22, starting_epoch=21
          )
      self.assertFalse(warning.called)
  
imports: import unittest
  from ..compat import tfv1
  from ..utils import logger
  from ..train.trainers import NoOpTrainer
  from ..input_source import DummyConstantInput
  from .param import ScheduledHyperParamSetter, ObjAttrParam
label_desc: Use image node_id 9 for calling the ScheduledHyperParamSetterTest obj's underlying member method code with example usage: obj.testNoWarningStartInTheMiddle() without return types