[Python-checkins] cpython (2.7): Issue #18441: Move commented out code to issue message.

terry.reedy python-checkins at python.org
Sun Jul 28 06:01:27 CEST 2013


http://hg.python.org/cpython/rev/858a72d91162
changeset:   84880:858a72d91162
branch:      2.7
parent:      84877:6420dcd377f9
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Sun Jul 28 00:01:00 2013 -0400
summary:
  Issue #18441: Move commented out code to issue message.

files:
  Lib/test/test_idle.py |  10 +---------
  1 files changed, 1 insertions(+), 9 deletions(-)


diff --git a/Lib/test/test_idle.py b/Lib/test/test_idle.py
--- a/Lib/test/test_idle.py
+++ b/Lib/test/test_idle.py
@@ -9,17 +9,9 @@
 
 # If buildbot improperly sets gui resource (#18365, #18441), remove it
 # so requires('gui') tests are skipped while non-gui tests still run.
+# If there is a problem with Macs, see #18441, msg 193805
 if use_resources and 'gui' in use_resources:
     try:
-        import sys
-##        if sys.platform == 'darwin':
-##            from lib-tk.test.runtktests import check_tk_availability
-# see test/test_tk.py or test_ttk_guionly for how to import the above
-##            # tkinter.test.suppport in 3.x
-##            try:
-##                check_tk_availability()
-##            except unittest.SkipTest:
-##                raise tk.TclError
         root = tk.Tk()
         root.destroy()
     except tk.TclError:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list