code: def test_requires_scalar_distributions(self):
      def prior_fn(**_):
          return uniform_noise.UniformNoiseAdapter(
              tfp.distributions.MultivariateNormalDiag(
                  loc=[-3, 0.2], scale_diag=[1, 2]
              )
          )
  
      with self.assertRaises(ValueError):
          self.get_model(prior_fn=prior_fn, compression=True)
  
imports: from absl.testing import parameterized
  import tensorflow
  import tensorflow_probability
  from tensorflow_compression.python.distributions import uniform_noise
  from tensorflow_compression.python.entropy_models import continuous_indexed
label_desc: Use image node_id 6 for calling the ContinuousIndexedEntropyModelTest obj's underlying member method code with example usage: obj.test_requires_scalar_distributions() and returns: uniform_noise