diff --git a/Doc/library/test.rst b/Doc/library/test.rst index cc7ff4de0d3..974f71fd407 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -310,7 +310,7 @@ The :mod:`test.support` module defines the following functions: .. function:: captured_stdout() - This is a context manager than runs the :keyword:`with` statement body using + This is a context manager that runs the :keyword:`with` statement body using a :class:`StringIO.StringIO` object as sys.stdout. That object can be retrieved using the ``as`` clause of the :keyword:`with` statement.