8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc3aee commit 2fda836Copy full SHA for 2fda836
Doc/library/unittest.rst
@@ -2316,8 +2316,8 @@ Loading and running tests
2316
(see :ref:`Warning control <using-on-warnings>`),
2317
otherwise it will be set to ``'default'``.
2318
2319
- Calling ``main`` actually returns an instance of the ``TestProgram`` class.
2320
- 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.
2321
2322
.. versionchanged:: 3.1
2323
The *exit* parameter was added.
0 commit comments