https://github.com/python/cpython/commit/f6f4022a357f70f1c40945403065e81b6c2e4854
commit: f6f4022a357f70f1c40945403065e81b6c2e4854
branch: main
author: Jan MusĂ­lek <[email protected]>
committer: encukou <[email protected]>
date: 2024-07-14T10:57:12+02:00
summary:

gh-64308: Remove TestProgram from the unittest docs (GH-121675)

files:
M Doc/library/unittest.rst

diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index eb42210e096ecb..dc76374d5181eb 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -2316,8 +2316,8 @@ Loading and running tests
    (see :ref:`Warning control <using-on-warnings>`),
    otherwise it will be set to ``'default'``.
 
-   Calling ``main`` actually returns an instance of the ``TestProgram`` class.
-   This stores the result of the tests run as the ``result`` attribute.
+   Calling ``main`` returns an object with the ``result`` attribute that 
contains
+   the result of the tests run as a :class:`unittest.TestResult`.
 
    .. versionchanged:: 3.1
       The *exit* parameter was added.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to