##// END OF EJS Templates
capture_output does not respect trailing semicolon (#13940)...
capture_output does not respect trailing semicolon (#13940) This change tests whether the Python code inside the `%%capture` magic ends with a `';'`. If it does, the code no longer creates the object that is supposed to store the cell output. If such object already exists, it is deleted. Please review and suggest changes if you think they can improve the solution. Thanks.

File last commit:

r27925:6938ae12
r28128:75ecfe93 merge
Show More
pytest.ini
40 lines | 1.4 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/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/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