code: def test_duplicate_with_ignored_and_pending(self):
      space = [
          {
              "name": "var_1",
              "type": "continuous",
              "domain": (-3, 1),
              "dimensionality": 1,
          },
          {"name": "var_2", "type": "discrete", "domain": (0, 1, 2, 3)},
          {"name": "var_3", "type": "categorical", "domain": (0, 1)},
      ]
      design_space = Design_space(space)
  
      np.random.seed(666)
  
      number_points = 5
  
      zipped_X = initial_design("random", design_space, number_points)
      pending_zipped_X = initial_design(
          "random", design_space, number_points
      )
      ignored_zipped_X = initial_design(
          "random", design_space, number_points
      )
  
      d = DuplicateManager(
          design_space, zipped_X, pending_zipped_X, ignored_zipped_X
      )
  
      duplicate_in_pending_state = np.atleast_2d(
          pending_zipped_X[0, :].copy()
      )
  
      assert d.is_zipped_x_duplicate(duplicate_in_pending_state)
  
      assert d.is_unzipped_x_duplicate(
          design_space.unzip_inputs(duplicate_in_pending_state)
      )
  
      duplicate_in_ignored_state = np.atleast_2d(
          ignored_zipped_X[0, :].copy()
      )
  
      assert d.is_zipped_x_duplicate(duplicate_in_ignored_state)
  
      assert d.is_unzipped_x_duplicate(
          design_space.unzip_inputs(duplicate_in_ignored_state)
      )
  
file_path: GPyOpt/GPyOpt/testing/functional_tests/test_duplicate_manager.py
imports: import unittest
  import numpy
  from GPyOpt.core.task.space import Design_space
  from GPyOpt.experiment_design import initial_design
  from GPyOpt.util.duplicate_manager import DuplicateManager
label_desc: Use image node_id 2 for calling the TestDuplicateManager obj's underlying member method code with example usage: obj.test_duplicate_with_ignored_and_pending() without return types