diff options
-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 91fede0..4fc06fc 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -2054,7 +2054,8 @@ instead of as an error. Signal Handling --------------- -The ``-c``/``--catch`` command-line option to unittest, along with the ``catchbreak`` +The :option:`-c/--catch <unittest -c>` command-line option to unittest, +along with the ``catchbreak`` parameter to :func:`unittest.main()`, provide more friendly handling of control-C during a test run. With catch break behavior enabled control-C will allow the currently running test to complete, and the test run will then end |