code: def test_invalid_config(self):
      # Invalid num epochs
      config = self._get_valid_config()
  
      bad_config = copy.deepcopy(config)
      del bad_config["value"]
      with self.assertRaises((AssertionError, TypeError)):
          ConstantParamScheduler.from_config(bad_config)
  
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 2 for calling the TestFixedScheduler obj's underlying member method code with example usage: obj.test_invalid_config() without return types