commit | 466a5f20f1b034146560a1753c15216d02186290 | [log] [tgz] |
---|---|---|
author | Sandro Tosi <sandro.tosi@gmail.com> | Tue Apr 24 18:38:59 2012 +0200 |
committer | Sandro Tosi <sandro.tosi@gmail.com> | Tue Apr 24 18:38:59 2012 +0200 |
tree | d78624b443e265d6d796ecb730400dae517d2adb | |
parent | 3f0f5776cdbd590571eb51825200d676ecd643ee [diff] [blame] |
Issue #14554: correct example for captured_stdout()
diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 3e1e492..434ef5a 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst
@@ -380,7 +380,7 @@ with captured_stdout() as s: print "hello" - assert s.getvalue() == "hello" + assert s.getvalue() == "hello\n" .. versionadded:: 2.6