code: def test_predictions_list(mtcars, caplog):
      model, idata = mtcars
      caplog.set_level("INFO", logger="__bambi_interpret__")
  
      # List of values with no unspecified covariates
      conditional = ["hp", "drat", "am"]
      plot_predictions(model, idata, conditional)
  
      conditional_msg = (
          "Default computed for conditional variable: hp, drat, am"
      )
      interpret_log_msgs = [r.message for r in caplog.records]
  
      assert conditional_msg in interpret_log_msgs
      assert len(caplog.records) == 1
  
file_path: bambi/tests/test_interpret_messages.py
imports: import bambi
  import pandas
  import pytest
  from bambi.interpret import plot_comparisons, plot_predictions, plot_slopes
label_desc: Use image node_id 2 for calling a global function with example usage: test_predictions_list(mtcars, caplog) without return types