summaryrefslogtreecommitdiff
path: root/doc/en/usage.rst
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2018-03-27 07:40:52 -0300
committerGitHub <noreply@github.com>2018-03-27 07:40:52 -0300
commit0a4200bbb3a422ff7f77fb83ca16c43737fd9231 (patch)
tree3941e3728dbdc7c4fb3bb46134e67b239de70ab0 /doc/en/usage.rst
parentb45006e9a3af8c60c7835ddf4c1aee6920c0caa7 (diff)
downloadpytest-0a4200bbb3a422ff7f77fb83ca16c43737fd9231.tar.gz
Improve docs formatting
Diffstat (limited to 'doc/en/usage.rst')
-rw-r--r--doc/en/usage.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/en/usage.rst b/doc/en/usage.rst
index 9da5d3fce..e13ff24c7 100644
--- a/doc/en/usage.rst
+++ b/doc/en/usage.rst
@@ -198,10 +198,10 @@ Using the builtin breakpoint function
Python 3.7 introduces a builtin ``breakpoint()`` function.
Pytest supports the use of ``breakpoint()`` with the following behaviours:
- - When breakpoint() is called and PYTHONBREAKPOINT is set to the default value, PyTest will use the Custom PDB trace UI instead of the system default Pdb.
- - When tests are complete, the system will default back to the system Pdb trace UI.
- - If --pdb is called on execution of Pytest, the custom Pdb interface is used on bothbreakpoint() and failed tests/unhandled exceptions.
- - If --pdbcls is used, the custom class will be executed when a test fails (as expected within existing behaviour), but also when breakpoint() is called from within a test, the custom class debugger will be instantiated.
+ - When ``breakpoint()`` is called and ``PYTHONBREAKPOINT`` is set to the default value, pytest will use the custom internal PDB trace UI instead of the system default ``Pdb``.
+ - When tests are complete, the system will default back to the system ``Pdb`` trace UI.
+ - If ``--pdb`` is called on execution of pytest, the custom internal Pdb trace UI is used on ``bothbreakpoint()`` and failed tests/unhandled exceptions.
+ - If ``--pdbcls`` is used, the custom class debugger will be executed when a test fails (as expected within existing behaviour), but also when ``breakpoint()`` is called from within a test, the custom class debugger will be instantiated.
.. _durations: