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
in those cases the RuntimeError escapes into the generator and cannot be handled correctly anymore
the correct solution would be a contextmanager pytest --lf -p no:unraisableexception -p no:threadexception -p no:loggingis currently needed for me to have it work
each of the disabled plugins uses yield from in hook wrappers
The text was updated successfully, but these errors were encountered:
i just found that in a testsuite
i already fixed pluggy via pytest-dev/pluggy#545
however afterwards i learned that
yield from
creates a barrier for the error handling implemented for thatat least https://github.com/pytest-dev/pytest/blame/main/src/_pytest/unraisableexception.py#L89-L100 uses yield from
in those cases the RuntimeError escapes into the generator and cannot be handled correctly anymore
the correct solution would be a contextmanager
pytest --lf -p no:unraisableexception -p no:threadexception -p no:logging
is currently needed for me to have it workeach of the disabled plugins uses yield from in hook wrappers
The text was updated successfully, but these errors were encountered: