Brett Cannon  committed c10adba

Have testLoadTkFailure() skip on cygwin since Tcl/Tk on cygwin renders to the
Windows GDI directly and thus does not need a DISPLAY environment variable.

Thanks Jason Tishler.

  • Participants
  • Parent commits be370ab
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/test/

         import os
         old_display = None
         import sys
-        if sys.platform.startswith('win') or sys.platform.startswith('darwin'):
+        if (sys.platform.startswith('win') or
+                sys.platform.startswith('darwin') or
+                sys.platform.startswith('cygwin')):
             return # no failure possible on windows?
         if 'DISPLAY' in os.environ:
             old_display = os.environ['DISPLAY']