code: def test_load_mni152(func, resolution):
      img = func(resolution=resolution)
  
      assert isinstance(img, Nifti1Image)
  
      if resolution is None:
          expected_shape = (197, 233, 189)
          expected_zooms = (1.0, 1.0, 1.0)
      elif resolution == 2:
          expected_shape = (99, 117, 95)
          expected_zooms = (2.0, 2.0, 2.0)
  
      assert img.shape == expected_shape
      assert img.header.get_zooms() == expected_zooms
  
file_path: nilearn/nilearn/datasets/tests/test_struct.py
imports: from pathlib import Path
  import numpy
  import pandas
  import pytest
  from nibabel import Nifti1Image
  from nilearn.datasets import struct
  from nilearn.datasets.tests._testing import dict_to_archive, list_to_archive
label_desc: Use image node_id 4 for calling a global function with example usage: test_load_mni152(func, resolution) without return types