code: def test_assert_all_finite_input_py_literal(self):
      # This tests if finite Python literals are detected as finite.
      for a in [1, 3.0, -7.1e-12]:
          self.assertAllFinite(a)
  
      b = [0, 1.45e17, 0x2A]
      self.assertAllFinite(b)
  
      c = (1, 2.0, 3, 4)
      self.assertAllFinite(c)
  
imports: import collections
  from absl import flags
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import test_combinations
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.util.seed_stream import SeedStream
label_desc: Use image node_id 5 for calling the _TestCaseTest obj's underlying member method code with example usage: obj.test_assert_all_finite_input_py_literal() without return types