Skip to content

Commit

Permalink
Update jupyter_server/pytest_plugin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsailer authored Oct 5, 2021
1 parent f3a5fa1 commit c3a8d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def _configurable_serverapp(
# Initialize app without httpserver
app.initialize(argv=argv, new_httpserver=False)
# Reroute all logging StreamHandlers away from stdin/stdout since pytest hijacks
# these streams and closes them at unfortunately times.
# these streams and closes them at unfortunate times.
stream_handlers = [h for h in app.log.handlers if isinstance(h, logging.StreamHandler)]
for handler in stream_handlers:
handler.setStream(jp_logging_stream)
Expand Down

0 comments on commit c3a8d46

Please sign in to comment.