Issue #14554: correct example for captured_stdout()

This commit is contained in:
Sandro Tosi 2012-04-24 18:38:59 +02:00
parent 3f0f5776cd
commit 466a5f20f1
1 changed files with 1 additions and 1 deletions

View File

@ -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