Merge pull request #1887 from mbyt/pdbcls_example_with_tab_completion

pdbcls ipython example with tab completion
This commit is contained in:
Bruno Oliveira 2016-08-29 17:11:51 -03:00 committed by GitHub
commit 82218e4ee1
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ def pytest_addoption(parser):
group._addoption(
'--pdbcls', dest="usepdb_cls", metavar="modulename:classname",
help="start a custom interactive Python debugger on errors. "
"For example: --pdbcls=IPython.core.debugger:Pdb")
"For example: --pdbcls=IPython.terminal.debugger:TerminalPdb")
def pytest_namespace():
return {'set_trace': pytestPDB().set_trace}