Skip to content

Commit

Permalink
pythongh-64308: Remove TestProgram from the unittest docs (pythonGH-1…
Browse files Browse the repository at this point in the history
  • Loading branch information
stinovlas authored and estyxx committed Jul 17, 2024
1 parent eb4421d commit f377267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/unittest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f377267

Please sign in to comment.