code: def test_hypergeometric_range(self):
      # Test for ticket #921
      assert_(np.all(np.random.hypergeometric(3, 18, 11, size=10) < 4))
      assert_(np.all(np.random.hypergeometric(18, 3, 11, size=10) > 0))
  
      # Test for ticket #5623
      args = [
          (
              2**20 - 2,
              2**20 - 2,
              2**20 - 2,
          ),  # Check for 32-bit systems
      ]
      is_64bits = sys.maxsize > 2**32
      if is_64bits and sys.platform != "win32":
          # Check for 64-bit systems
          args.append((2**40 - 2, 2**40 - 2, 2**40 - 2))
      for arg in args:
          assert_(np.random.hypergeometric(*arg) > 0)
  
file_path: catboost/contrib/python/numpy/py3/numpy/random/tests/test_regression.py
imports: import sys
  from numpy.testing import assert_, assert_array_equal, assert_raises
  from numpy import random
  import numpy
label_desc: Use image node_id 2 for calling the TestRegression obj's underlying member method code with example usage: obj.test_hypergeometric_range() without return types