From 49770da5eaab0e4f1e14c2f2dc8ff290e185c309 Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Thu, 26 Sep 2013 11:52:29 -0700 Subject: [PATCH] --no-browser flag to js tests notebook server --- IPython/testing/iptestcontroller.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/IPython/testing/iptestcontroller.py b/IPython/testing/iptestcontroller.py index e3ee649df..ae1315c43 100644 --- a/IPython/testing/iptestcontroller.py +++ b/IPython/testing/iptestcontroller.py @@ -192,10 +192,8 @@ class JSController(TestController): def run_webapp(q): """start the IPython Notebook, and pass port back to the queue""" import IPython.html.notebookapp as nbapp - # get rid of command line flags used to launch the testing framework - sys.argv = [sys.executable] server = nbapp.NotebookApp() - server.initialize() + server.initialize(['--no-browser']) # communicate the port number to the parent process q.put(server.port) server.start()