def print_surround_header(what: str, header_len: int = 80) -> None:
    """
    Helper to visually mark a block with headers
    """
    start = f"#   Beginning of {what}"
    end = f"#   End of {what}"

    print("\n")
    print("#" * header_len)
    print(start + " " * (header_len - len(start) - 1) + "#")
    print("#" * header_len)
    print("\n")

    yield

    print("\n")
    print("#" * header_len)
    print(end + " " * (header_len - len(end) - 1) + "#")
    print("#" * header_len)
    print("\n")

    Helper to visually mark a block with headers
    
core/tests/test_docker_in_docker.py