code: def test_lift():
      res_df = association_rules(
          df_freq_items, min_threshold=1.1, metric="lift"
      )
      assert res_df.values.shape[0] == 6
  
      res_df = association_rules(
          df_freq_items_with_colnames, min_threshold=1.1, metric="lift"
      )
      assert res_df.values.shape[0] == 6
  
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 9 for calling a global function with example usage: test_lift() without return types