code: def test_predict_all_same(create_X_y, create_pool_all_agree):
      X, y = create_X_y
  
      expected = y
      oracle_test = Oracle(create_pool_all_agree)
      oracle_test.fit(X, y)
      expected[expected == 1] = 0
      predicted_labels = oracle_test.predict(X, y)
      assert np.equal(predicted_labels, expected).all()
  
file_path: DESlib/deslib/tests/static/test_oracle.py
imports: import numpy
  from sklearn.datasets import make_classification
  from sklearn.ensemble import RandomForestClassifier
  from deslib.static.oracle import Oracle
label_desc: Use image node_id 2 for calling a global function with example usage: test_predict_all_same(create_X_y, create_pool_all_agree) without return types