class_docstr: Common tests for noisy location-scale family of distributions.
class_docstr_tok: ["Common","tests","for","noisy","location-scale","family","of","distributions","."]
code: def test_stats_throw_error(self):
      dist = self.dist_cls(loc=1, scale=2)
      with self.assertRaises(NotImplementedError):
          dist.mode()
      with self.assertRaises(NotImplementedError):
          dist.quantile(0.5)
      with self.assertRaises(NotImplementedError):
          dist.survival_function(0.5)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  import tensorflow_probability
  from tensorflow_compression.python.distributions import deep_factorized
  from tensorflow_compression.python.distributions import round_adapters
label_desc: Use image node_id 7 for calling the LocationScaleTest obj's underlying member method code with example usage: obj.test_stats_throw_error() without return types