diff --git a/Doc/library/test.rst b/Doc/library/test.rst index f5c1fda36c0..69ead894289 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -302,7 +302,7 @@ The :mod:`test.test_support` module defines the following functions: This is a context manager than 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 with statement. + retrieved using the ``as`` clause of the :keyword:`with` statement. Example use::