Commit 3e29d930 authored by Sandro Tosi's avatar Sandro Tosi

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

parent e6c34626
......@@ -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)
......
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