FICHA · MANJARO

python-pytest-examples

Pytest plugin for testing examples in docstrings and markdown files

  • Plugin
  • Dev
  • DOCS
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Runs examples from docstrings and Markdown files as pytest checks. It helps projects keep documentation examples executable and aligned with real code behavior.

Example tests execute code embedded in documentation. Review examples from untrusted sources before running them and avoid including secrets in docs.

Permissions

Permissions not analysed for this source yet.