Skip to content

test_assertrewrite fails when run in verbose mode #4879

@blueyed

Description

@blueyed
FAILED testing/test_assertrewrite.py::TestAssertionRewrite::test_dont_rewrite_if_hasattr_fails
FAILED testing/test_assertrewrite.py::TestAssertionRewrite::test_len
FAILED testing/test_assertrewrite.py::TestAssertionRewrite::test_custom_repr
FAILED testing/test_assertrewrite.py::TestAssertionRewrite::test_name

The problem seems to be that those tests themselves get rewritten differently when using verbose mode or not.

I think there should be different assertions based on request.config.verbose?!

Originally posted by @blueyed in #4851 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions