code: def test_assert_all_are_not_none(self):
      no_nones = [1, 2, 3]
      self.assertAllNotNone(no_nones)
  
      has_nones = [1, 2, None]
      with self.assertRaisesRegex(
          AssertionError,
          r"Expected no entry to be `None` but found `None` in positions \[2\]",
      ):
          self.assertAllNotNone(has_nones)
  
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 11 for calling the _TestCaseTest obj's underlying member method code with example usage: obj.test_assert_all_are_not_none() without return types