We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1397af8 commit 2f4df51Copy full SHA for 2f4df51
tests/test_ignore.py
@@ -23,9 +23,9 @@ def test_conf_ignore_stderr(testdir):
23
# Setup notebook with stream outputs
24
nb = build_nb([
25
"import sys",
26
- "sys.stdout.write('test\\n')",
27
- "sys.stderr.write('error output\\n')",
28
- "sys.stdout.write('test\\n')\nsys.stderr.write('error output\\n')",
+ "print('test')",
+ "print('error output', file=sys.stderr)",
+ "print('test')\nprint('error output', file=sys.stderr)",
29
], mark_run=True)
30
nb.cells[1].outputs.append(nbformat.v4.new_output(
31
'stream',
0 commit comments