code: def test_iter_check_niimgs_memory(affine_eye):
      # Verify that iterating over a list of images doesn't consume extra
      # memory.
      assert_memory_less_than(
          100,
          0.1,
          _check_memory,
          [
              Nifti1Image(np.ones((100, 100, 200)), affine_eye)
              for _ in range(10)
          ],
      )
  
imports: import os
  import re
  import tempfile
  from pathlib import Path
  import nibabel
  import numpy
  import pytest
  from nibabel import Nifti1Image
  from numpy.testing import assert_array_equal
  import nilearn
  from nilearn import _utils
  from nilearn._utils import niimg_conversions, testing
  from nilearn._utils.exceptions import DimensionError
  from nilearn._utils.niimg_conversions import iter_check_niimg
  from nilearn._utils.testing import assert_memory_less_than, with_memory_profiler
  from nilearn.image import get_data
label_desc: Use image node_id 14 for calling a global function with example usage: test_iter_check_niimgs_memory(affine_eye) without return types