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: python -m doctest has a -v flag that it ignores
Type: Stage:
Components: Versions: Python 3.3
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Devin Jeanpierre, belopolsky
Priority: normal Keywords: patch

Created on 2011-04-07 07:12 by Devin Jeanpierre, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
doctest_verbosity.diff Devin Jeanpierre, 2011-04-07 07:12 review
Messages (3)
msg133195 - (view) Author: Devin Jeanpierre (Devin Jeanpierre) * Date: 2011-04-07 07:12
The usage string details a -v option, but python -m doctest doesn't use a -v option.

The attached patch adds that.
msg133251 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2011-04-07 20:09
Why do you say "doctest doesn't use a -v option"?

Compare

$ python -m doctest Lib/doctest.py 

and

$ python -m doctest -v Lib/doctest.py 
Trying:
    runner = DebugRunner(verbose=False)
Expecting nothing
ok
...
66 tests in 112 items.
66 passed and 0 failed.
Test passed.
msg133259 - (view) Author: Devin Jeanpierre (Devin Jeanpierre) * Date: 2011-04-07 21:05
*Sigh*, I'm just confused. Sorry, must have screwed up what I passed as verbose somewhere, so that it didn't check sys.argv.
History
Date User Action Args
2022-04-11 14:57:15adminsetgithub: 56000
2011-04-07 21:05:16Devin Jeanpierresetstatus: open -> closed
resolution: not a bug
messages: + msg133259

versions: + Python 3.3, - Python 3.2
2011-04-07 20:09:17belopolskysetnosy: + belopolsky
messages: + msg133251
2011-04-07 07:12:51Devin Jeanpierrecreate