import io
import zipfile


def wrapzip(filename: str, content: bytes) -> bytes:
    """Create an in-memory zip archive with a single file"""
    bio = io.BytesIO()
    z = zipfile.ZipFile(bio, mode="w", compression=zipfile.ZIP_STORED)
    z.writestr(filename, content)
    z.close()
    return bio.getvalue()