Skip to content

Docs: Document that pytest_assertrepr_compare is called on passing asserts#14738

Open
Joosboy wants to merge 1 commit into
pytest-dev:mainfrom
Joosboy:docs/12062-pytest_assertrepr_compare
Open

Docs: Document that pytest_assertrepr_compare is called on passing asserts#14738
Joosboy wants to merge 1 commit into
pytest-dev:mainfrom
Joosboy:docs/12062-pytest_assertrepr_compare

Conversation

@Joosboy

@Joosboy Joosboy commented Jul 20, 2026

Copy link
Copy Markdown

This PR documents the behavior where pytest_assertrepr_compare is also executed on passing assertions if a pytest_assertion_pass hook is defined, as reported in #12062.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pytest_assertrepr_compare is executed on passing assertions when a pytest_assertion_pass hook is defined

1 participant