[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

The test package is documented in the Standard Library documentation,
"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

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>

More information about the Python-bugs-list mailing list