code: def test_fetch_atlas_fsl_errors(prob, fsl_fetcher, tmp_path):
      # specify non-existing atlas item
      with pytest.raises(ValueError, match="Invalid atlas name"):
          fsl_fetcher("not_inside")
      # Choose a probabilistic atlas with symmetric split
      with pytest.raises(ValueError, match="Region splitting"):
          fsl_fetcher(
              prob, data_dir=str(tmp_path), symmetric_split=True
          )
  
imports: import itertools
  import os
  import re
  from pathlib import Path
  import nibabel
  import numpy
  import pandas
  import pytest
  from numpy.testing import assert_array_equal
  from nilearn._utils import data_gen
  from nilearn._utils.testing import serialize_niimg
  from nilearn.conftest import _rng
  from nilearn.datasets import atlas
  from nilearn.datasets._utils import fetch_files
  from nilearn.datasets.tests._testing import dict_to_archive
  from nilearn.image import get_data
label_desc: Use image node_id 6 for calling a global function with example usage: test_fetch_atlas_fsl_errors(prob, fsl_fetcher, tmp_path) without return types