Re: [Python-Dev] Reporting unexpected import failures as test failures in regrtest.py

2006-05-31 Thread Tim Peters
[Nick Coghlan] > What if we appended unexpected skips to the list of bad tests so that they get > rerun in verbose mode and the return value becomes non-zero? > > print count(len(surprise), "skip"), \ >"unexpected on", plat + ":" > printlist(surprise) > # Add

[Python-Dev] Reporting unexpected import failures as test failures in regrtest.py

2006-05-31 Thread Nick Coghlan
Some background for those not watching python-checkins: I neglected to do "svn add" for the new functools Python module when converting functional->functools. The buildbots stayed green because the ImportError triggered by the line "import functools" in test_functools was treated as a TestSkipp