def METHOD_NAME():
    server_reader_fd, client_writer_fd = os.pipe()
    server_reader = os.fdopen(server_reader_fd, "rb", buffering=0)
    client_writer = os.fdopen(client_writer_fd, "wb", buffering=0)
    client_reader_fd, server_writer_fd = os.pipe()
    client_reader = os.fdopen(client_reader_fd, "rb", buffering=0)
    server_writer = os.fdopen(server_writer_fd, "wb", buffering=0)
    wrapper = PipesForTest(
        server_reader=server_reader,
        server_writer=server_writer,
        client_writer=client_writer,
        client_reader=client_reader,
    )
    try:
        yield wrapper
    finally:
        server_reader.close()
        server_writer.close()
        client_writer.close()
        client_reader.close()