mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
make js tests quieter, silence notebook server
This commit is contained in:
parent
217b43cf87
commit
4993ddd498
@ -204,6 +204,8 @@ def run_webapp(q, nbdir, loglevel=0):
|
||||
"""start the IPython Notebook, and pass port back to the queue"""
|
||||
import os
|
||||
import IPython.html.notebookapp as nbapp
|
||||
import sys
|
||||
sys.stderr = open(os.devnull, 'w')
|
||||
os.environ["IPYTHONDIR"] = nbdir
|
||||
server = nbapp.NotebookApp()
|
||||
args = ['--no-browser']
|
||||
|
Loading…
Reference in New Issue
Block a user