code: def test_compute_pmf_approximation(self, probabilities, delta):
      exact_probabilities = poisson_binomial.compute_pmf(
          probabilities
      ).probabilities
      mean, std, skewness = poisson_binomial.compute_exp_std_skewness(
          probabilities
      )
      approximate_pmf = poisson_binomial.compute_pmf_approximation(
          mean, std, skewness, len(probabilities)
      )
      approximate_probabilities = approximate_pmf.probabilities
      exact_probabilities = exact_probabilities[
          approximate_pmf.start : approximate_pmf.start
          + len(approximate_probabilities)
      ]
      self.assertSequenceAlmostEqual(
          exact_probabilities, approximate_probabilities, delta=delta
      )
  
file_path: pipelinedp/analysis/tests/poisson_binomial_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from analysis import poisson_binomial
label_desc: Use image node_id 3 for calling the PoissonBinomialTest obj's underlying member method code with example usage: obj.test_compute_pmf_approximation(probabilities, delta) without return types