code: def testDistribution(self, dist_name, data):
      if dist_name in NO_NANS_TEST_BLOCK_LIST:
          self.skipTest("{} is blocked".format(dist_name))
  
      def eligibility_filter(name):
          return name not in NO_NANS_TEST_BLOCK_LIST
  
      dist = data.draw(
          dhps.distributions(
              dist_name=dist_name,
              enable_vars=False,
              eligibility_filter=eligibility_filter,
          )
      )
      samples = self.check_samples_not_nan(dist)
      self.assume_loc_scale_ok(dist)
  
      hp.note("Testing on samples {}".format(samples))
      with tfp_hps.no_tf_rank_errors():
          lp = self.evaluate(dist.log_prob(samples))
          hp.note("Got log_probs {}".format(lp))
      self.assertAllEqual(np.zeros_like(lp), np.isnan(lp))
  
imports: import collections
  from absl.testing import parameterized
  import hypothesis
  from hypothesis import strategies
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import hypothesis_testlib
  from tensorflow_probability.python.internal import hypothesis_testlib
  from tensorflow_probability.python.internal import numerics_testing
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math.psd_kernels import hypothesis_testlib
label_desc: Use image node_id 1 for calling the NoNansTest obj's underlying member method code with example usage: obj.testDistribution(dist_name, data) and returns: unknown