import yaml


def show(data):
    """
    Works like yaml.dump(), but with output suited for doctests. Flow style
    is always off, and there is no blank line at the end.
    """
    return yaml.dump(data, default_flow_style=False).strip()