code: def test_bad_action():
      with pytest.raises(InvalidAction):
          shap.ActionOptimizer(None, [None])
  
file_path: shap/tests/actions/_optimizer.py
imports: import numpy
  import pandas
  import pytest
  import shap
  from shap.utils._exceptions import ConvergenceError, InvalidAction
label_desc: Use image node_id 5 for calling a global function with example usage: test_bad_action() without return types