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
There is a global (_tui_terminal_out) that is used to gather ansi-encoded info and send it to file. However, if pytest is invoked without --tui using only the --version flag, an error occurs:
We need that global because some processing code (e.g. pytest_runtest_logstart) is required that does not give access to the Pytest Config object.
However, it may be that the global doesn't have to be instantiated (only declared) in the global scope, which would simplify the use of this variable. As it is now we have a bunch of independent code all closing that tempfile out so that the pytest session doesn't end without it being closed.
The text was updated successfully, but these errors were encountered:
There is a global (
_tui_terminal_out
) that is used to gather ansi-encoded info and send it to file. However, if pytest is invoked without --tui using only the --version flag, an error occurs:We need that global because some processing code (e.g.
pytest_runtest_logstart
) is required that does not give access to the Pytest Config object.However, it may be that the global doesn't have to be instantiated (only declared) in the global scope, which would simplify the use of this variable. As it is now we have a bunch of independent code all closing that tempfile out so that the pytest session doesn't end without it being closed.
The text was updated successfully, but these errors were encountered: