[New-bugs-announce] [issue2766] Doubtfull code in 'doctest.DocTestSuite'

Dieter Maurer report at bugs.python.org
Mon May 5 08:48:31 CEST 2008

New submission from Dieter Maurer <dieter at handshake.de>:

"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.

components: Library (Lib)
messages: 66259
nosy: dmaurer
severity: normal
status: open
title: Doubtfull code in 'doctest.DocTestSuite'
versions: Python 2.6

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list