PYTHON PROGRAMMING
Configuring Pytest to Run Doctest
Learn how to configure pytest in pyproject.toml to run doctests
Published in
10 min readApr 2, 2024
Modern Python projects are managed by pyproject.toml
files. You can use it to manage both regular projects and Python packages, which makes this file a general tool to set up Python projects of various types.