[Python-Dev] test___all__ failing on WIndows

Tim Peters tim.one@home.com
Sun, 13 May 2001 17:00:32 -0400


[skip@pobox.com]
> I (thankfully) gave up even pretending to run Windows recently, so
> I can only make a suggestion for others who look into this problem.
> Try this:
> Change test___all__.check_all so that the except clause reads:
>
>     except ImportError, msg:
>
> then print out msg when an import fails.  You should get the actual
> module that failed to import.

Yes, that confirmed termios was the culprit.  Thanks!  Fixed by adding

import termios
del termios

in pty.py.  As the irritated comment before this new code says, this is
absurd.

since-you're-on-a-roll-how-about-fixing-test_urllib2-too<wink>-ly
    y'rs  - tim