code: def test_load(self):
      # Check highest level load of minc works
      for tp in self.test_files:
          img = load(tp["fname"])
          data = img.get_fdata()
          assert data.shape == tp["shape"]
          # min, max, mean values from read in SPM2 / minctools
          assert_data_similar(data, tp)
          # check if mnc 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)
  
imports: import bz2
  import gzip
  import types
  import warnings
  from io import BytesIO
  from os.path import join
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from ..None import Nifti1Image, load, minc1
  from ..deprecated import ModuleProxy
  from ..deprecator import ExpiredDeprecationError
  from ..externals.netcdf import netcdf_file
  from ..minc1 import Minc1File, Minc1Image, MincHeader
  from ..optpkg import optional_package
  from ..testing import assert_data_similar, clear_and_catch_warnings, data_path
  from ..tmpdirs import InTemporaryDirectory
  from .None import test_spatialimages
  from .test_fileslice import slicer_samples
label_desc: Use image node_id 3 for calling the _TestMincFile obj's underlying member method code with example usage: obj.test_load() without return types