def METHOD_NAME(cls):
    fd, cls.spec_fname = tempfile.mkstemp(prefix="TestConvertSpecHDF5")
    os.write(fd, sfdata)
    os.close(fd)
    fd, cls.h5_fname = tempfile.mkstemp(prefix="TestConvertSpecHDF5")
    # Close and delete (we just need the name)
    os.close(fd)
    os.unlink(cls.h5_fname)