This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: doctest should allow running tests with "python -m doctest"
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: ggenellina, tlynn
Priority: normal Keywords:

Created on 2009-01-21 12:27 by tlynn, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg80323 - (view) Author: Tom Lynn (tlynn) Date: 2009-01-21 12:27
It would be good to be able to do something like::

  $ python -m doctest foo.py
  $ python -m doctest --text foo.txt bar.txt

(or preferably some command line options design which could handle 
both .py and .txt files).
msg80328 - (view) Author: Gabriel Genellina (ggenellina) Date: 2009-01-21 15:27
Already implemented in Python 2.6; please upgrade.
2.5 only gets security fixes at this time.
History
Date User Action Args
2022-04-11 14:56:44adminsetgithub: 49272
2009-01-22 02:55:09benjamin.petersonsetstatus: open -> closed
resolution: out of date
2009-01-21 15:27:15ggenellinasetnosy: + ggenellina
messages: + msg80328
2009-01-21 12:27:42tlynncreate