Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Tools to run doctests on code and text files within a directory

Project Description
These are a small set of tools to make it easier to run doctest on your

source files and text files.

There is a tool to run doctest on an individual file, and another tool to run doctest on all files within a directory (recursively). The individual doctest runs are done in separate processes so that the tests don’t contaminate each other.

Finally, there is a small module to set the python path of the program calling it to make it easier to run the program from multiple clones of the same project where it is impossible to set the python path to a single location.

These tools are written in Python so that they will run on all platforms.

Release History

Release History

This version
History Node


History Node


History Node


Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting