Replies: 1 comment 1 reply
-
The repr compare hook gets called for actual operators between 2 values False on it's own is only a value |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can rewrite assert message using pytest_assertrepr_compare
if my assert message has view
assert False is True
pytest call pytest_assertrepr_compare and everything worksBut if use syntax
assert False
pytest_assertrepr_compare don't call.In docs I didn't see this information https://docs.pytest.org/en/7.1.x/reference/reference.html?highlight=pytest_assertrepr_compare#std-hook-pytest_assertrepr_compare
Beta Was this translation helpful? Give feedback.
All reactions