xdoctest
A rewrite of Python's builtin doctest module without all the weirdness (with pytest plugin integration)
A rewrite of Python's builtin doctest module without all the weirdness (with pytest plugin integration)
To install this package, run one of the following:
The xdoctest package is a re-write of Python's builtin doctest module. It replaces the old regex-based parser with a new abstract-syntax-tree based parser (using Python's ast module). The goal is to make doctests easier to write, simpler to configure, and encourage the pattern of test driven development.
Summary
A rewrite of Python's builtin doctest module without all the weirdness (with pytest plugin integration)
Last Updated
Nov 21, 2025 at 19:22
License
Apache-2.0
Total Downloads
268.7K
Supported Platforms
GitHub Repository
https://github.com/Erotemic/xdoctestDocumentation
http://xdoctest.readthedocs.io/