code: def test_wrong_metric():
      numpy_assert_raises(
          ValueError, association_rules, df_freq_items, "unicorn"
      )
  
imports: import numpy
  import pandas
  import pytest
  from numpy.testing import assert_raises
  from mlxtend.frequent_patterns import apriori, association_rules
label_desc: Use image node_id 5 for calling a global function with example usage: test_wrong_metric() without return types