From 5f99aad4f8b017970b6e39ac748c0073df05bc07 2014-01-16 10:57:13
From: Jonathan Frederic <jon.freder@gmail.com>
Date: 2014-01-16 10:57:13
Subject: [PATCH] Revert "Enabled IPython Server output for Travis debugging"

This reverts commit eb7ee3f61335a7147fcfc1b1907d41f163bb0b41.

---

diff --git a/IPython/testing/iptestcontroller.py b/IPython/testing/iptestcontroller.py
index 3764de4..cea88e8 100644
--- a/IPython/testing/iptestcontroller.py
+++ b/IPython/testing/iptestcontroller.py
@@ -206,16 +206,13 @@ def run_webapp(q, nbdir, loglevel=0):
     import os
     import IPython.html.notebookapp as nbapp
     import sys
-    #sys.stdout = open(str(os.getpid()) + ".out", "w")
-    #sys.stderr = open(str(os.getpid()) + ".err", "w")
-    print("hello")
-    # sys.stderr = open(os.devnull, 'w')
+    sys.stderr = open(os.devnull, 'w')
     os.environ["IPYTHONDIR"] = nbdir
     server = nbapp.NotebookApp()
     args = ['--no-browser']
     args.append('--notebook-dir='+nbdir)
     args.append('--profile-dir='+nbdir)
-    #args.append('--log-level='+str(loglevel))
+    args.append('--log-level='+str(loglevel))
     server.initialize(args)
     # communicate the port number to the parent process
     q.put(server.port)