Issue #14554: correct example for captured_stdout(); patch by Tshepang Lekhonkhobe

This commit is contained in:
Sandro Tosi 2012-04-24 18:39:24 +02:00
parent e6c3462607
commit 3e29d93007
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ The :mod:`test.support` module defines the following functions:
with captured_stdout() as s:
print("hello")
assert s.getvalue() == "hello"
assert s.getvalue() == "hello\n"
.. function:: import_module(name, deprecated=False)