make js tests quieter, silence notebook server

This commit is contained in:
Paul Ivanov 2013-10-23 11:48:33 -07:00
parent 217b43cf87
commit 4993ddd498

View File

@ -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']