Issue 5022: doctest should allow running tests with "python -m doctest" (original) (raw)

Issue5022

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:44 admin set github: 49272
2009-01-22 02:55:09 benjamin.peterson set status: open -> closedresolution: out of date
2009-01-21 15:27:15 ggenellina set nosy: + ggenellinamessages: +
2009-01-21 12:27:42 tlynn create