code: def test_load(self):
      # Check highest level load of brikhead works
      for tp in self.test_files:
          img = self.module.load(tp["head"])
          data = img.get_fdata()
          assert data.shape == tp["shape"]
          # min, max, mean values
          assert_data_similar(data, tp)
          # check if file can be converted to nifti
          ni_img = Nifti1Image.from_image(img)
          assert_array_equal(ni_img.affine, tp["affine"])
          assert_array_equal(ni_img.get_fdata(), data)
  
file_path: nibabel/nibabel/tests/test_brikhead.py
imports: from os.path import join
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from ..None import Nifti1Image, brikhead, load
  from ..testing import assert_data_similar, data_path
  from .test_fileslice import slicer_samples
label_desc: Use image node_id 2 for calling the TestAFNIImage obj's underlying member method code with example usage: obj.test_load() without return types