Skip to content

Commit 822624c

Browse files
authored
Update help text for --pdbcls to match behavior (closes #8655) (#8656)
* Clarify help text for --pdbcls * Add changelog entry for --pdbcls
1 parent 0a07b71 commit 822624c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog/8655.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Help text for ``--pdbcls`` more accurately reflects the option's behavior.

src/_pytest/debugging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def pytest_addoption(parser: Parser) -> None:
5353
dest="usepdb_cls",
5454
metavar="modulename:classname",
5555
type=_validate_usepdb_cls,
56-
help="start a custom interactive Python debugger on errors. "
56+
help="specify a custom interactive Python debugger for use with --pdb."
5757
"For example: --pdbcls=IPython.terminal.debugger:TerminalPdb",
5858
)
5959
group._addoption(

0 commit comments

Comments
 (0)