code: def test_invalid_variance_scale(self):
      with self.assertRaisesRegex(
          ValueError, "scale.*must be a positive float"
      ):
          initializers.VarianceScaling(scale=-1.0)
  
      with self.assertRaisesRegex(
          ValueError, "Invalid `mode` argument*"
      ):
          initializers.VarianceScaling(mode="foo")
  
      with self.assertRaisesRegex(
          ValueError, "Invalid `distribution` argument*"
      ):
          initializers.VarianceScaling(distribution="bar")
  
imports: import itertools
  from absl.testing import absltest
  from absl.testing import parameterized
  from haiku._src import initializers
  from haiku._src import test_utils
  import jax
  from jax import config
  import jax.numpy
  import numpy
label_desc: Use image node_id 2 for calling the InitializersTest obj's underlying member method code with example usage: obj.test_invalid_variance_scale() without return types