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

Ned Deily report at bugs.python.org
Mon Jun 13 20:49:50 EDT 2016


New submission from Ned Deily:

Running tests of 3.6.0a2 with gui enabled on OS X result in various failures of the form:

======================================================================
ERROR: test_setupapp (idlelib.idle_test.test_macosx.SetupTest) (tktype='carbon')
Call setupApp with each possible graphics type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/idlelib/idle_test/test_macosx.py", line 93, in test_setupapp
    macosx.setupApp(root, flist)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/idlelib/macosx.py", line 245, in setupApp
    overrideRootMenu(root, flist)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/idlelib/macosx.py", line 133, in overrideRootMenu
    closeItem = mainmenu.menudefs[0][1][-2]
IndexError: list index out of range

======================================================================
ERROR: test_setupapp (idlelib.idle_test.test_macosx.SetupTest) (tktype='cocoa')
Call setupApp with each possible graphics type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/idlelib/idle_test/test_macosx.py", line 93, in test_setupapp
    macosx.setupApp(root, flist)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/idlelib/macosx.py", line 245, in setupApp
    overrideRootMenu(root, flist)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/idlelib/macosx.py", line 133, in overrideRootMenu
    closeItem = mainmenu.menudefs[0][1][-2]
IndexError: list index out of range

----------
components: IDLE
messages: 268492
nosy: ned.deily, terry.reedy
priority: high
severity: normal
stage: needs patch
status: open
title: test_setupapp (idlelib.idle_test.test_macosx.SetupTest) fails on OS X
versions: Python 3.6

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


More information about the Python-bugs-list mailing list