summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-26 23:31:07 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-11-26 23:31:07 (GMT)
commit8acb67c0597d6326e1e160dc9e1127c9a53259c1 (patch)
treea5f3f701b018bfd945aa538c4532d0a7b3af30ef /Doc/library/unittest.rst
parent1f75f5d506fff0fb7ff42b72817e49f3329f6f0e (diff)
downloadcpython-8acb67c0597d6326e1e160dc9e1127c9a53259c1.zip
cpython-8acb67c0597d6326e1e160dc9e1127c9a53259c1.tar.gz
cpython-8acb67c0597d6326e1e160dc9e1127c9a53259c1.tar.bz2
Use link-generating markup (see #9312)
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r--Doc/library/unittest.rst3
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