cpython: d1ba0421d65f (original) (raw)
Mercurial > cpython
changeset 76528:d1ba0421d65f 3.2
Issue #14554: correct example for captured_stdout(); patch by Tshepang Lekhonkhobe [#14554]
Sandro Tosi sandro.tosi@gmail.com | |
---|---|
date | Tue, 24 Apr 2012 18:39:24 +0200 |
parents | 8165b59a4000 |
children | 6f41f8ed87c8 3aec41794584 |
files | Doc/library/test.rst |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Doc/library/test.rst 2 |
line wrap: on
line diff
--- a/Doc/library/test.rst
+++ b/Doc/library/test.rst
@@ -362,7 +362,7 @@ The :mod:test.support
module defines t
with captured_stdout() as s:
print("hello")
assert s.getvalue() == "hello"[](#l1.7)
assert s.getvalue() == "hello\n"[](#l1.8)