code: def test_unsupported_method_for_adjust_pred_probs():
      with pytest.raises(ValueError) as e:
          labels = data["labels"]
          pred_probs = data["pred_probs"]
  
          # method that do not support adjust_pred_probs
          # note: use a list of methods if there are multiple methods that do not support adjust_pred_probs
          method = "confidence_weighted_entropy"
  
          _ = rank.get_label_quality_scores(
              labels, pred_probs, adjust_pred_probs=True, method=method
          )
  
imports: import numpy
  import pytest
  from cleanlab import rank
  from cleanlab.internal.label_quality_utils import _subtract_confident_thresholds
  from cleanlab.benchmarking.noise_generation import generate_noise_matrix_from_trace
  from cleanlab.benchmarking.noise_generation import generate_noisy_labels
  from cleanlab import count
  from cleanlab import outlier
  from sklearn.neighbors import NearestNeighbors
label_desc: Use image node_id 14 for calling a global function with example usage: test_unsupported_method_for_adjust_pred_probs() without return types