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

2016-06-18 Thread Ned Deily
Ned Deily added the comment: test_idle now runs without failing. Thanks, Terry and Berker. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

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

2016-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 61bd6974405f by Berker Peksag in branch 'default': Issue #27312: Fix TypeError in test_setupapp https://hg.python.org/cpython/rev/61bd6974405f -- ___ Python tracker __

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

2016-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: My suggested mock was for the wrong function. Please let me know what happens next time you pull and run test_idle whether alone or with the suite. -- ___ Python tracker

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

2016-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 90fd1c17214b by Terry Jan Reedy in branch 'default': Issue #27312: mock out function that fails when called from setupApp during https://hg.python.org/cpython/rev/90fd1c17214b -- nosy: +python-dev ___ Pyt

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

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_setupapp calls setupApp with body if isAquaTk(): hideTkConsole(root) overrideRootMenu(root, flist) addOpenEventSupport(root, flist) fixb2context(root) isAquaTk should be True exactly twice, and it failed both times. The

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

2016-06-13 Thread Ned Deily
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, cl

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

2016-06-13 Thread Ned Deily
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 eac