From 58f3bbb55c2eea3639c7eb14c036260cac73223f 2013-12-13 23:05:58 From: Thomas Kluyver Date: 2013-12-13 23:05:58 Subject: [PATCH] Fix notebook tests w/ new stream capturing API. --- diff --git a/IPython/html/tests/launchnotebook.py b/IPython/html/tests/launchnotebook.py index 409f0e0..4a78242 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