code: def test_expand_params_for_interact():
      test_params = {
          "param1": [1, 2],
          "param2": 3,
      }
  
      expanded_params = _expand_params_for_interact(test_params)
  
      assert expanded_params["param1"] == [1, 2]
      assert expanded_params["param2"] == [3, 3]
  
      with pytest.raises(AssertionError):
          _expand_params_for_interact({"param3": [1, 2, 3]})
  
imports: import pandas
  import numpy
  import pytest
  from pdpbox.utils import FeatureInfo, _to_rgba, _check_col, _check_dataset, _make_list, _check_model, _check_classes, _check_memory_limit, _check_frac_to_plot, _calc_n_jobs, _get_string, _expand_params_for_interact, _calc_preds, _check_cluster_params, _check_plot_engine, _check_pdp_interact_plot_type
label_desc: Use image node_id 10 for calling a global function with example usage: test_expand_params_for_interact() without return types