code: def test_no_dropout_rejects_is_training(self, is_training):
      mod = mlp.MLP([1, 1])
      with self.assertRaisesRegex(
          ValueError, "is_training.*only.*with dropout"
      ):
          mod(tf.ones([1, 1]), is_training=is_training)
  
imports: import itertools
  from absl.testing import parameterized
  from sonnet.src import test_utils
  from sonnet.src.nets import mlp
  import tensorflow
label_desc: Use image node_id 19 for calling the MLPTest obj's underlying member method code with example usage: obj.test_no_dropout_rejects_is_training(is_training) without return types