I now have a new problem, one that I've seen in the past but always seems to go away all by itself. Urllib2 will fail when I run the whole regrtest suite:
import test.regrtest test.regrtest.main() test_grammar [... many lines deleted] test_urllib2 test test_urllib2 crashed -- exceptions.AttributeError: 'module' object has no attribute 'error'
sys.argv = ['regrtest.py', '-v', 'test_urllib2'] test.regrtest.main() test_urllib2 test_urllib2 1 test OK. CAUTION: stdout isn't compared in verbose mode: a test
But if I run only the urllib2 test in verbose mode it works fine: that passes in verbose mode may fail without it.
Does anyone know where I could start looking for this one?
Not beyond what Martin suggested. One of the prior tests probably screws you. Any tests *fail* before? I have done bisection of the set of test modules -- tedious, but effective: make an explicit list of the previous tests, and each time try with half of them removed until the result changes. --Guido van Rossum (home page: http://www.python.org/~guido/)