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

This commit is contained in:
Jan Musílek 2024-07-14 10:57:12 +02:00 committed by GitHub
parent 901ea411bf
commit f6f4022a35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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.