[Python-Dev] Re: Testing the 2.2.2 email pkg

Guido van Rossum guido@python.org
Sun, 06 Oct 2002 10:19:18 -0400


> I note that I see a similar set of errors and failures with Python
> 2.3, so it appears to be a general problem with the new email
> package's test suite on Windows, when invoked manually (python
> Lib/test/test_email.py).

Another thought just struck me.  Are we certain that the email test
suite is run when you use regrtest?  I think not!

[linux]$ time ./python ../Lib/test/test_email.py
....................................................................................................................................................................
----------------------------------------------------------------------
Ran 164 tests in 0.899s

OK

real    0m1.136s
user    0m1.020s
sys     0m0.070s
[linux]$ time ./python ../Lib/test/regrtest.py test_email
test_email
1 test OK.

real    0m0.248s
user    0m0.220s
sys     0m0.030s
[linux]$ 

The times of the second run suggest that no tests were run!

So the email regression test (or the email package!) probably has a
severe Unix dependency (or Windows deficiency :-) that has never been
detected before.

I'll mail the full test output from Windows box next.

--Guido van Rossum (home page: http://www.python.org/~guido/)