summaryrefslogtreecommitdiffstats
path: root/Doc/library/test.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/test.rst')
-rw-r--r--Doc/library/test.rst2
1 files changed, 1 insertions, 1 deletions
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 @@ 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)