send ignored output to devnull

rather than PIPE, since Windows pipes can fill up.
This commit is contained in:
MinRK 2013-10-22 17:26:39 -07:00
parent dbfea55e8a
commit 2b54e36ab7

View File

@ -1,5 +1,6 @@
"""Base class for notebook tests."""
import os
import sys
import time
import requests
@ -52,9 +53,13 @@ class NotebookTestBase(TestCase):
'--port=%d' % cls.port,
'--no-browser',
'--ipython-dir=%s' % cls.ipython_dir.name,
'--notebook-dir=%s' % cls.notebook_dir.name
]
cls.notebook = Popen(notebook_args, stdout=PIPE, stderr=PIPE)
'--notebook-dir=%s' % cls.notebook_dir.name,
]
devnull = open(os.devnull, 'w')
cls.notebook = Popen(notebook_args,
stdout=devnull,
stderr=devnull,
)
cls.wait_until_alive()
@classmethod