diff options
-rw-r--r-- | Doc/library/test.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 8b998f6740..2e8ba328b3 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -372,7 +372,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:: temp_cwd(name='tempcwd', quiet=False, path=None) |