Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
a0956d25
Commit
a0956d25
authored
Nov 10, 2016
by
Alexandre Duret-Lutz
Browse files
tests: do not hide stderr in ipnbdoctest
* tests/python/ipnbdoctest.py: here.
parent
0ac14e9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/python/ipnbdoctest.py
View file @
a0956d25
...
...
@@ -154,7 +154,6 @@ def run_cell(kc, cell):
kc
.
execute
(
cell
.
input
)
# wait for finish, maximum 20s
reply
=
kc
.
get_shell_msg
(
timeout
=
20
)
print
(
"reply:
\n
"
,
reply
)
outs
=
[]
while
True
:
...
...
@@ -211,8 +210,7 @@ def test_notebook(nb):
km
=
KernelManager
()
# Do not save the history to disk, as it can yield spurious lock errors.
# See https://github.com/ipython/ipython/issues/2845
km
.
start_kernel
(
extra_arguments
=
[
'--HistoryManager.hist_file=:memory:'
],
stderr
=
open
(
os
.
devnull
,
'w'
))
km
.
start_kernel
(
extra_arguments
=
[
'--HistoryManager.hist_file=:memory:'
])
kc
=
km
.
client
()
kc
.
start_channels
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment