code: def test_no_dropout_rejects_rng(self):
      mod = mlp.MLP([1, 1])
      with self.assertRaisesRegex(
          ValueError, "only.*when using dropout"
      ):
          mod(jnp.ones([1, 1]), rng=jax.random.PRNGKey(42))
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from haiku._src import test_utils
  from haiku._src.nets import mlp
  import jax
  import jax.numpy
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_rng() without return types