[Python-Dev] DeprecationWarnings in the regression tests (original) (raw)

Tim Peters tim.one@comcast.net
Mon, 15 Apr 2002 23:44:00 -0400


FYI, there are no more warnings when running the test suite on Windows.

regrtest usually fails in test___all__ when run with -r ("random"), though, due to rlcompleter. It smells like another one of those deals where an expected (on Windows) failing import leaves behind a damaged module object in sys.modules, allowing the next import of it to succeed in another test, but delivering a module object that doesn't have the attributes the latter test is trying to use. So boom -- an unexpected AttributeError, and a legitimate error at the time it happens.