diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/unittest.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index a7c74cf..c70153d 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -2281,7 +2281,8 @@ Loading and running tests The *testRunner* argument can either be a test runner class or an already created instance of it. By default ``main`` calls :func:`sys.exit` with - an exit code indicating success or failure of the tests run. + an exit code indicating success (0) or failure (1) of the tests run. + An exit code of 5 indicates that no tests were run. The *testLoader* argument has to be a :class:`TestLoader` instance, and defaults to :data:`defaultTestLoader`. |