8000 List of tuples contains_only wrong assertion fail message · Issue #133 · assertpy/assertpy · GitHub
[go: up one dir, main page]

Skip to content

List of tuples contains_only wrong assertion fail message #133

@Mardoxx

Description

@Mardoxx

assert_that([("a",)]).contains_only("a")

AssertionError: Expected <[('a',)]> to contain only <a>, but did contain <a>.

Should be

AssertionError: Expected <[('a',)]> to contain only <a>, but did contain <('a',)>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0