Commit 466a5f20 authored by Sandro Tosi's avatar Sandro Tosi

Issue #14554: correct example for captured_stdout()

parent 3f0f5776
......@@ -380,7 +380,7 @@ The :mod:`test.test_support` module defines the following functions:
with captured_stdout() as s:
print "hello"
assert s.getvalue() == "hello"
assert s.getvalue() == "hello\n"
.. versionadded:: 2.6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment