[issue2766] Doubtfull code in 'doctest.DocTestSuite'

2008-05-12 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Thanks, the assignment to globs is indeed not necessary. Removed in
r63173.

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2766
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2766] Doubtfull code in 'doctest.DocTestSuite'

2008-05-05 Thread Dieter Maurer

New submission from Dieter Maurer [EMAIL PROTECTED]:

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 [EMAIL PROTECTED]
http://bugs.python.org/issue2766
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com