B D added the comment: added try finally as suggested by berkerpeksag. make patchcheck still works and all test cases still pass. did not use the test.support.swap_attr context manager because it may inhibit readability for those that are not familiar with it.
---------- Added file: http://bugs.python.org/file35527/issue11709.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11709> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com