code: def test_check_soft_dependencies_raises_error():
      """Test the _check_soft_dependencies() function."""
      with pytest.raises(
          ModuleNotFoundError, match=r".* soft dependency .*"
      ):
          _check_soft_dependencies("unavailable_module")
  
      with pytest.raises(
          ModuleNotFoundError, match=r".* soft dependency .*"
      ):
          _check_soft_dependencies(
              "unavailable_module_1", "unavailable_module_2"
          )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_check_soft_dependencies_raises_error() without return types