Commit 3684c877 authored by Brett Cannon's avatar Brett Cannon

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.
parent 4c79a83e
......@@ -129,7 +129,9 @@ class TclTest(unittest.TestCase):
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']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment