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: Doubtfull code in 'doctest.DocTestSuite'
Type: Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: dmaurer, georg.brandl
Priority: normal Keywords:

Created on 2008-05-05 06:48 by dmaurer, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg66259 - (view) Author: Dieter Maurer (dmaurer) Date: 2008-05-05 06:48
"doctest.DocTestSuite" has parameter "globs=None".
It uses "globs" in the call to "test_finder.call".
After this use, it potentually modifies "globs" but no longer uses it.

Either the "globs" modification is irrelevant (then it should be removed)
or it should happen before the "test_finder.find" call.
msg66740 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-05-12 17:02
Thanks, the assignment to "globs" is indeed not necessary. Removed in
r63173.
History
Date User Action Args
2022-04-11 14:56:34adminsetgithub: 47015
2008-05-12 17:02:05georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg66740
nosy: + georg.brandl
2008-05-05 06:48:28dmaurercreate