[Python-checkins] python/dist/src/Lib/test test_tcl.py,1.5,1.6
bcannon at users.sourceforge.net
bcannon at users.sourceforge.net
Wed Nov 24 04:01:46 CET 2004
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12512/Lib/test
Modified Files:
test_tcl.py
Log Message:
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.
Index: test_tcl.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_tcl.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- test_tcl.py 8 Jul 2004 04:22:19 -0000 1.5
+++ test_tcl.py 24 Nov 2004 03:01:36 -0000 1.6
@@ -129,7 +129,9 @@
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']
More information about the Python-checkins
mailing list