code: def test_variance_scaling_invalid_mode(self):
      scale = 2.0
      seed = 1234
  
      with self.assertRaisesRegex(
          ValueError, "Invalid `mode` argument:"
      ):
          initializers.VarianceScaling(
              scale=scale, seed=seed, mode="invalid_mode"
          )
  
file_path: keras/keras/initializers/random_initializers_test.py
imports: import numpy
  from keras import backend
  from keras import initializers
  from keras import testing
  from keras import utils
label_desc: Use image node_id 7 for calling the InitializersTest obj's underlying member method code with example usage: obj.test_variance_scaling_invalid_mode() without return types