commit | 3e29d93007f7ac8b96ddf0b4f925f9a9dfa06b30 | [log] [tgz] |
---|---|---|
author | Sandro Tosi <sandro.tosi@gmail.com> | Tue Apr 24 18:39:24 2012 +0200 |
committer | Sandro Tosi <sandro.tosi@gmail.com> | Tue Apr 24 18:39:24 2012 +0200 |
tree | e7b584ee685f8c67ca693d1ae3e1f005d7d8d406 | |
parent | e6c34626073c905f072e7e2910d4d75c95668c10 [diff] [blame] |
Issue #14554: correct example for captured_stdout(); patch by Tshepang Lekhonkhobe
diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 0185a09..40f4115 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst
@@ -362,7 +362,7 @@ with captured_stdout() as s: print("hello") - assert s.getvalue() == "hello" + assert s.getvalue() == "hello\n" .. function:: import_module(name, deprecated=False)