[Python-Dev] Current CVS, Cygwin and "make test"

Brett C. bac at OCF.Berkeley.EDU
Wed Nov 24 04:02:18 CET 2004


Jason Tishler wrote:

> The test_tcl test case is failing under Cygwin because it expects
> loadtk() to fail if the DISPLAY environment variable is not set.
> However, under Cygwin we have the following:
> 
>     >>> import os, Tkinter
>     >>> del os.environ['DISPLAY']
>     >>> Tkinter.Tcl().loadtk()
>     >>>
> 
> The above works because Cygwin's Tcl/Tk renders directly on the Windows
> GDI instead of going through an X Server.  Can I submit a patch to
> test_tcl to skip this test as is done for win and darwin?

You could, but I just fixed it anyway. =)  In revision 1.6 .

-Brett


More information about the Python-Dev mailing list