[issue9250] sys.modules changes size during iteration in regrtest module

Xavier de Gaye report at bugs.python.org
Tue Jul 13 21:15:11 CEST 2010


Xavier de Gaye <xdegaye at gmail.com> added the comment:

http://pyclewn.sourceforge.net uses the regrtest module to run its
testsuite.

The test package is documented in the Standard Library documentation,
quote:
"The test package contains all regression tests for Python as well
as the modules test.test_support and test.regrtest. test.test_support
is used to enhance your tests while test.regrtest drives the testing
                   ^^^
suite."

It is not clear why regrtest "isn't designed to be imported, really.
Or at least, not any more." when test/autotest.py in the python
source code does import regrtest.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9250>
_______________________________________


More information about the Python-bugs-list mailing list