Skip to content

Commit 9257233

Browse files
ygorpontelogotcha
authored andcommitted
update readme based on #4008
1 parent 5b5c868 commit 9257233

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ Third-party support
171171
pytest
172172
+++++++
173173
pytest_ supports a ``--pdb`` option which can run ``ipdb`` /
174-
``IPython.terminal.debugger:Pdb`` on ``Exception`` and ``breakpoint()``:
174+
``IPython.terminal.debugger:TerminalPdb`` on ``Exception`` and ``breakpoint()``:
175175

176176
.. code:: bash
177177
178-
pytest --pdb --pdbcls=IPython.terminal.debugger:Pdb -v ./test_example.py
178+
pytest --pdb --pdbcls=IPython.terminal.debugger:TerminalPdb -v ./test_example.py
179179
180180
You don't need to specify ``--pdbcls`` for every ``pytest`` invocation
181181
if you add ``addopts`` to ``pytest.ini`` or ``pyproject.toml``.
@@ -185,14 +185,14 @@ if you add ``addopts`` to ``pytest.ini`` or ``pyproject.toml``.
185185
.. code:: bash
186186
187187
[tool.pytest.ini_options]
188-
addopts = "--pdbcls=IPython.terminal.debugger:Pdb"
188+
addopts = "--pdbcls=IPython.terminal.debugger:TerminalPdb"
189189
190190
``pyproject.toml``:
191191

192192
.. code:: yml
193193
194194
[tool.pytest.ini_options]
195-
addopts = "--pdbcls=IPython.terminal.debugger:Pdb"
195+
addopts = "--pdbcls=IPython.terminal.debugger:TerminalPdb"
196196
197197
198198
.. _pytest: https://pypi.python.org/pypi/pytest

0 commit comments

Comments
 (0)