code: def test_plot_roi_view_type_error():
      """Test error message for invalid view_type."""
      with pytest.raises(ValueError, match="Unknown view type:"):
          demo_plot_roi(view_type="flled")
  
file_path: nilearn/nilearn/plotting/tests/test_img_plotting/test_plot_roi.py
imports: import matplotlib.pyplot
  import numpy
  import pytest
  from nibabel import Nifti1Image
  from nilearn.conftest import _affine_mni
  from nilearn.image.resampling import coord_transform
  from nilearn.plotting import plot_roi
label_desc: Use image node_id 3 for calling a global function with example usage: test_plot_roi_view_type_error() without return types