code: def test_scheduler(self):
      config = self._get_valid_config()
  
      scheduler = ConstantParamScheduler.from_config(config)
      schedule = [
          scheduler(epoch_num / self._num_epochs)
          for epoch_num in range(self._num_epochs)
      ]
      expected_schedule = [
          0.1,
          0.1,
          0.1,
          0.1,
          0.1,
          0.1,
          0.1,
          0.1,
          0.1,
          0.1,
          0.1,
          0.1,
      ]
  
      self.assertEqual(schedule, expected_schedule)
      # The input for the scheduler should be in the interval [0;1), open
      with self.assertRaises(RuntimeError):
          scheduler(1)
  
file_path: ClassyVision/test/optim_param_scheduler_constant_test.py
imports: import copy
  import unittest
  from classy_vision.optim.param_scheduler import build_param_scheduler, ConstantParamScheduler
label_desc: Use image node_id 3 for calling the TestFixedScheduler obj's underlying member method code with example usage: obj.test_scheduler() without return types