def has_bad_continuation(line):
    """Tell whether or not a non-comment line is bad."""
    stripped = line.strip()
    return stripped.endswith('\\') and not (stripped.startswith('assert') or
        stripped.startswith('with'))
