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 1d915aa commit f88ec9aCopy full SHA for f88ec9a
Doc/library/unittest.rst
@@ -2308,8 +2308,8 @@ Loading and running tests
2308
(see :ref:`Warning control <using-on-warnings>`),
2309
otherwise it will be set to ``'default'``.
2310
2311
- Calling ``main`` actually returns an instance of the ``TestProgram`` class.
2312
- 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`.
2313
2314
.. versionchanged:: 3.1
2315
The *exit* parameter was added.
0 commit comments