tests: do not hide stderr in ipnbdoctest
* tests/python/ipnbdoctest.py: here.
This commit is contained in:
parent
0ac14e9ca2
commit
a0956d25b6
1 changed files with 1 additions and 3 deletions
|
|
@ -154,7 +154,6 @@ def run_cell(kc, cell):
|
||||||
kc.execute(cell.input)
|
kc.execute(cell.input)
|
||||||
# wait for finish, maximum 20s
|
# wait for finish, maximum 20s
|
||||||
reply = kc.get_shell_msg(timeout=20)
|
reply = kc.get_shell_msg(timeout=20)
|
||||||
print("reply:\n", reply)
|
|
||||||
outs = []
|
outs = []
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|
@ -211,8 +210,7 @@ def test_notebook(nb):
|
||||||
km = KernelManager()
|
km = KernelManager()
|
||||||
# Do not save the history to disk, as it can yield spurious lock errors.
|
# Do not save the history to disk, as it can yield spurious lock errors.
|
||||||
# See https://github.com/ipython/ipython/issues/2845
|
# See https://github.com/ipython/ipython/issues/2845
|
||||||
km.start_kernel(extra_arguments=['--HistoryManager.hist_file=:memory:'],
|
km.start_kernel(extra_arguments=['--HistoryManager.hist_file=:memory:'])
|
||||||
stderr=open(os.devnull, 'w'))
|
|
||||||
|
|
||||||
kc = km.client()
|
kc = km.client()
|
||||||
kc.start_channels()
|
kc.start_channels()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue