code: def test_load_images_from_dir_data_shape(
      in_dir: Path,
      expected_image_data_shape: Sequence[int],
      expected_n_subjects: int,
  ) -> None:
      for i, image in enumerate(
          io.load_images_from_dir(in_dir, "bet.nii.gz")
      ):
          assert image.get_fdata().shape == (64, 64, 26, 10)
      assert i + 1 == expected_n_subjects
  
file_path: brainiak/tests/io/test_io.py
imports: from pathlib import Path
  from typing import Iterable, Sequence
  import nibabel
  import numpy
  import pytest
  from brainiak import io
label_desc: Use image node_id 8 for calling a global function with example usage: test_load_images_from_dir_data_shape(in_dir, expected_image_data_shape, expected_n_subjects) without return types