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
Adding this handler causes at least 2 problems:
- pytest captures logging calls by itself, so every log is captured
twice - once in stderr, once in stdlog
- logging calls in atexit handlers fail - as they are trying to write to
a closed stream.
Original purpose of the code seems to be to allow log capture for nose,
but we no longer use nose. It also specified log level and format - but
those can be specified using pytest.ini (which this commit also adds),
so the code can be removed now.
0 commit comments