You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the ordering of multiple tryfirst=True hooks is undefined
hookwrapper=True can execute code before a tryfirst hook
So, one fix could be to get pytest to switch to using hookwrapper. I figured I'd raise it with you folks first, though, in case it's something that's easier to fix on this end (by making ciqueue execute later, somehow).
The text was updated successfully, but these errors were encountered:
With this test suite:
Running works as expected:
However, reporting shows that the test passed:
This appears to be due to ciqueue's makereport triggering before the one in pytest which is responsible for setting call.excinfo for TestCase-style tests.
From these docs it looks like:
tryfirst=True
hooks is undefinedhookwrapper=True
can execute code before atryfirst
hookSo, one fix could be to get pytest to switch to using
hookwrapper
. I figured I'd raise it with you folks first, though, in case it's something that's easier to fix on this end (by making ciqueue execute later, somehow).The text was updated successfully, but these errors were encountered: