[Python-Dev] test___all__ failing on WIndows

Tim Peters tim.one@home.com
Thu, 10 May 2001 04:54:42 -0400


> python  ../lib/test/regrtest.py test___all__

test___all__
test test___all__ failed -- tty has no __all__ attribute
1 test failed: test___all__

C:\Code\python\dist\src\PCbuild>

I assume this is yet another case where some excruciatingly non-obvious
sequence of failing imports manages to leave behind a damaged module object
in sys.modules that prevents test___all__'s import of tty from getting the
ImportError it *ought* to get under Windows (and betting termios is the
ultimate culprit).

I've fixed enough of these.  Somebody who thinks this is "a feature" gets to
do it this time <wink/snarl>.