code: def test_unknown_algorithm_1d(ploomber_value_error_message):
      with pytest.raises(
          ValueError, match=ploomber_value_error_message
      ) as e:
          Rank1D(algorithm="unknown").feature_ranks(X)
          assert "'unknown' is unrecognized ranking method" in str(
              e.value
          )
  
imports: import matplotlib.pyplot
  import pytest
  import pandas
  import numpy
  from sklearn.datasets import load_iris
  from matplotlib.testing.decorators import image_comparison
  from sklearn_evaluation.plot import Rank1D, Rank2D
label_desc: Use image node_id 1 for calling a global function with example usage: test_unknown_algorithm_1d(ploomber_value_error_message) without return types