Skip to content

compare() should trim output that is huge. #239

Description

@chriswithers-fuse

equivalent to:

result = compare(, raises=False)
if result:
    raise AssertionError(result[trim here])

take: max_assertion_text_length (what would be a better name), default to something sensible, None means explicitly "don't trim"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions