summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_tcl.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index 28da2ddff3..2eeabc1bf8 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -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']