[issue18081] test_logging failure in WarningsTest on buildbots

Vinay Sajip report at bugs.python.org
Mon Jun 17 15:01:51 CEST 2013


Vinay Sajip added the comment:

With the attached patch,

python -m test_idle test_logging

passes (though test_idle still alters locale and environment).

Running python -m idelib.idle, and using IDLE itself for inspection, the warnings.formatwarning is set to the implementation in idlelib.run.

Perhaps the PyShell changes aren't needed, but I think it may avoid similar issues in the future to leave them in.

----------
Added file: http://bugs.python.org/file30619/changes.diff

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


More information about the Python-bugs-list mailing list