class_docstr: GammaBeta Scheduler tests.
class_docstr_tok: ["GammaBeta","Scheduler","tests","."]
docstr: Test attribute of internal opt correctly rerouted to the internal opt.
  
  Args:
    err_msg: The expected error message from the scheduler bad call.
docstr_tok: ["Test","attribute","of","internal","opt","correctly","rerouted","to","the","internal","opt",".","Args",":","err_msg",":","The","expected","error","message","from","the","scheduler","bad","call","."]
code: def test_bad_call(self, err_msg):
      """Test attribute of internal opt correctly rerouted to the internal opt.
  
      Args:
        err_msg: The expected error message from the scheduler bad call.
      """
      scheduler = opt.GammaBetaDecreasingStep()
      with self.assertRaisesRegexp(
          Exception, err_msg
      ):  # pylint: disable=deprecated-method
          scheduler(1)
  
imports: import unittest
  from absl.testing import parameterized
  import tensorflow.compat.v1
  from tensorflow.compat.v1.python import ops
  from tensorflow.compat.v1.python.framework import test_util
  from tensorflow.compat.v1.python.keras import keras_parameterized
  from tensorflow.compat.v1.python.keras import losses
  from tensorflow.compat.v1.python.keras.initializers import constant
  from tensorflow.compat.v1.python.keras.models import Model
  from tensorflow.compat.v1.python.keras.optimizer_v2.optimizer_v2 import OptimizerV2
  from tensorflow.compat.v1.python.keras.regularizers import L1L2
  from tensorflow.compat.v1.python.platform import test
  from tensorflow_privacy.privacy.bolt_on import optimizers
  from tensorflow_privacy.privacy.bolt_on.losses import StrongConvexMixin
label_desc: Use image node_id 1 for calling the SchedulerTest obj's underlying member method code with example usage: obj.test_bad_call(err_msg) without return types