[issue20746] test_pdb fails in refleak mode
Xavier de Gaye
report at bugs.python.org
Sat Mar 1 16:04:13 CET 2014
Xavier de Gaye added the comment:
The doctests are executed with 'test.globs' as globals which is set in the 'find' method of doctest.DocTestFinder, and cleared after each run (unless 'clear_globs' is false). One possible fix is to have test.regrtest 'find' a new test_runner before each run instead of always using the same one. This is what does the attached patch.
----------
keywords: +patch
nosy: +xdegaye
Added file: http://bugs.python.org/file34259/regrtest.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20746>
_______________________________________
More information about the Python-bugs-list
mailing list