code: def test_create_scale_and_scale_provided(self):
      layer = group_norm.GroupNorm(
          groups=5, create_scale=True, create_offset=False
      )
  
      with self.assertRaisesRegex(
          ValueError,
          "Cannot pass `scale` at call time if `create_scale=True`.",
      ):
          layer(jnp.ones([2, 3, 5]), scale=jnp.ones([4]))
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from haiku._src import group_norm
  from haiku._src import initializers
  from haiku._src import test_utils
  import jax.numpy
  import numpy
label_desc: Use image node_id 14 for calling the GroupNormTest obj's underlying member method code with example usage: obj.test_create_scale_and_scale_provided() without return types