PyCharm
 
Get PyCharm

Run/Debug Configuration: Doctests

Last modified: 11 February 2024

Use this dialog to create a run/debug configuration for Doctests.

In docstrings:

  • PyCharm recognizes Python code, provides syntax highlighting, code completion and resolve, and Python inspections.

  • Ability to recognize Python code can be turned on or off.

  • If doctests are presented as separate files, PyCharm allows opening such files as reStructuredText files with .rst extension. Such files are marked with a file with restructured text icon, and feature syntax highlighting.