[issue27312] test_setupapp (idlelib.idle_test.test_macosx.SetupTest) fails on OS X

Ned Deily report at bugs.python.org
Mon Jun 13 20:54:07 EDT 2016


Ned Deily added the comment:

Without looking closely at it, I would speculate that the failures are due to trying to test code in overrideRootMenu() that was previously only called once during execution and may not be re-enterant:

    # Remove the last 3 items of the file menu: a separator, close window and
    # quit. Close window will be reinserted just above the save item, where
    # it should be according to the HIG. Quit is in the application menu.
    del mainmenu.menudefs[0][1][-3:]
    mainmenu.menudefs[0][1].insert(6, closeItem)

----------

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


More information about the Python-bugs-list mailing list