class_docstr: This is a large test due to the moments computation taking some time.
code: def testInfRate(self):
      sample = random_ops.random_poisson(shape=[2], lam=np.inf)
      self.assertAllEqual([np.inf, np.inf], self.evaluate(sample))
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.kernel_tests.random import util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 9 for calling the RandomPoissonTest obj's underlying member method code with example usage: obj.testInfRate() without return types