class_docstr: Unittest for the gradients of the available acquisition functions
class_docstr_tok: ["Unittest","for","the","gradients","of","the","available","acquisition","functions"]
code: def test_ChecKGrads_EI(self):
      acquisition_ei = acquisition_for_test(
          AcquisitionEI(self.model, self.feasible_region)
      )
      grad_ei = GradientChecker(
          acquisition_ei.acquisition_function,
          acquisition_ei.d_acquisition_function,
          self.X_test,
      )
      self.assertTrue(grad_ei.checkgrad(tolerance=self.tolerance))
  
file_path: GPyOpt/GPyOpt/testing/functional_tests/test_acquisitions_gradient.py
imports: import numpy
  import GPy
  from GPy.models.gradient_checker import GradientChecker
  import GPyOpt
  from GPyOpt.util.general import samples_multidimensional_uniform
  from GPyOpt.acquisitions import AcquisitionEI, AcquisitionMPI, AcquisitionLCB
  from mock import Mock
  import unittest
label_desc: Use image node_id 2 for calling the TestAcquisitionsGradients obj's underlying member method code with example usage: obj.test_ChecKGrads_EI() without return types