code: def test_load_labels(
      labels_path: Path,
      expected_condition_spec_shape: Sequence[int],
      expected_n_subjects: int,
  ) -> None:
      condition_specs = io.load_labels(labels_path)
      i = 0
      for condition_spec in condition_specs:
          assert condition_spec.shape == expected_condition_spec_shape
          i += 1
      assert i == 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 12 for calling a global function with example usage: test_load_labels(labels_path, expected_condition_spec_shape, expected_n_subjects) without return types