##// END OF EJS Templates
fix uncaught `BdbQuit` exceptions on ipdb `exit`...
fix uncaught `BdbQuit` exceptions on ipdb `exit` - `BdbQuit` is now handled in the top-most scope of `InteractiveShell.run_code`. This ensures that `BdbQuit` is correctly handled but can still do its job of breaking out of all user code/loops/further breakpoint requests. Hopefully will work better than previous attempts, which put the `BdqQuit` handling in `Pdb.set_trace` - fixes: - jupyterlab/jupyterlab#12501 - refs: - ipython/ipython#876 - ipython/ipython#1273 - ipython/ipython#4474 - ipython/ipython#5306 - ipython/ipython#9731 - ipython/ipython#9942 - ipython/ipython#9950 - ipython/ipython#10006 - ipython/ipython#12378

File last commit:

r27638:e25b9ab9
r27658:fc235985
Show More
pytest.ini
48 lines | 1.6 KiB | text/x-ini | IniLexer
[pytest]
addopts = --durations=10
-p IPython.testing.plugin.pytest_ipdoctest --ipdoctest-modules
--ignore=docs
--ignore=examples
--ignore=htmlcov
--ignore=ipython_kernel
--ignore=ipython_parallel
--ignore=results
--ignore=tmp
--ignore=tools
--ignore=traitlets
--ignore=IPython/core/tests/daft_extension
--ignore=IPython/sphinxext
--ignore=IPython/terminal/pt_inputhooks
--ignore=IPython/__main__.py
--ignore=IPython/config.py
--ignore=IPython/frontend.py
--ignore=IPython/html.py
--ignore=IPython/nbconvert.py
--ignore=IPython/nbformat.py
--ignore=IPython/parallel.py
--ignore=IPython/qt.py
--ignore=IPython/external/qt_for_kernel.py
--ignore=IPython/html/widgets/widget_link.py
--ignore=IPython/html/widgets/widget_output.py
--ignore=IPython/terminal/console.py
--ignore=IPython/terminal/ptshell.py
--ignore=IPython/utils/_process_cli.py
--ignore=IPython/utils/_process_posix.py
--ignore=IPython/utils/_process_win32.py
--ignore=IPython/utils/_process_win32_controller.py
--ignore=IPython/utils/daemonize.py
--ignore=IPython/utils/eventful.py
--ignore=IPython/kernel
--ignore=IPython/consoleapp.py
--ignore=IPython/core/inputsplitter.py
--ignore=IPython/lib/kernel.py
--ignore=IPython/utils/jsonutil.py
--ignore=IPython/utils/localinterfaces.py
--ignore=IPython/utils/log.py
--ignore=IPython/utils/signatures.py
--ignore=IPython/utils/traitlets.py
--ignore=IPython/utils/version.py
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS
ipdoctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS
asyncio_mode = strict