code: def test_mincfile(self):
      for tp in self.test_files:
          mnc_obj = self.opener(tp["fname"], "r")
          mnc = self.file_class(mnc_obj)
          assert mnc.get_data_dtype().type == tp["dtype"]
          assert mnc.get_data_shape() == tp["shape"]
          assert mnc.get_zooms() == tp["zooms"]
          assert_array_equal(mnc.get_affine(), tp["affine"])
          data = mnc.get_scaled_data()
          assert data.shape == tp["shape"]
          # Can't close mmapped NetCDF with live mmap arrays
          del mnc, 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 1 for calling the _TestMincFile obj's underlying member method code with example usage: obj.test_mincfile() without return types