code: def test_hypergeometric(self):
      ngood = self.ngood
      nbad = self.nbad
      nsample = self.nsample
      if (
          isinstance(self.ngood, list)
          or isinstance(self.nbad, list)
          or isinstance(self.nsample, list)
      ):
          ngood = cupy.array(self.ngood)
          nbad = cupy.array(self.nbad)
          nsample = cupy.array(self.nsample)
      self.generate(ngood, nbad, nsample)
  
imports: import functools
  import unittest
  import numpy
  import cupy
  from cupy import testing
  from cupy.testing import _condition
label_desc: Use image node_id 1 for calling the Hypergeometric obj's underlying member method code with example usage: obj.test_hypergeometric() without return types