def METHOD_NAME(self):
    # we can read minc compressed
    # Not so for MINC2; hence this small sub-class
    for tp in self.test_files:
        content = open(tp['fname'], 'rb').read()
        openers_exts = [(gzip.open, '.gz'), (bz2.BZ2File, '.bz2')]
        if HAVE_ZSTD:  # add .zst to test if installed
            openers_exts += [(pyzstd.ZstdFile, '.zst')]
        with InTemporaryDirectory():
            for opener, ext in openers_exts:
                fname = 'test.mnc' + ext
                fobj = opener(fname, 'wb')
                fobj.write(content)
                fobj.close()
                img = self.module.load(fname)
                data = img.get_fdata()
                assert_data_similar(data, tp)
                del img