From eb680ddaa6ed6912381cde6804636db1a002d6af Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Fri, 13 Dec 2013 15:05:58 -0800 Subject: [PATCH] Fix notebook tests w/ new stream capturing API. --- IPython/html/tests/launchnotebook.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IPython/html/tests/launchnotebook.py b/IPython/html/tests/launchnotebook.py index 409f0e014..4a78242f7 100644 --- a/IPython/html/tests/launchnotebook.py +++ b/IPython/html/tests/launchnotebook.py @@ -57,10 +57,9 @@ class NotebookTestBase(TestCase): '--notebook-dir=%s' % cls.notebook_dir.name, ] cls.notebook = Popen(notebook_args, - stdout=nose.ipy_stream_capturer.writefd, + stdout=nose.iptest_stdstreams_fileno(), stderr=STDOUT, ) - nose.ipy_stream_capturer.ensure_started() cls.wait_until_alive() @classmethod