[issue31287] IDLE tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +3260 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31287] IDLE tests: don't modify tkinter.messagebox.

2017-08-27 Thread Terry J. Reedy
New submission from Terry J. Reedy: test_configdialog twice patches tkinter.messagebox to mock askyesno without restoring it properly. As a consequence, the outwin test in #30617 failed because the messagebox module in editor lacked askyesno. First patch: fix configdialog and test_configdialo