/doctestfn

Primary LanguagePythonMIT LicenseMIT

doctestfn

PyPI

Run doctests for one Python function in a module

Installation

The program can be installed using pip:

pip3 install doctestfn

Usage

usage: doctestfn [-h] [-v] module function

Run doctests for one function

positional arguments:
  module         Module to load
  function       Function to test

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  Enable verbose doctest output