[Python-Dev] Converting tests to unittest/doctest?

Neal Norwitz nnorwitz at gmail.com
Fri Dec 21 22:24:45 CET 2007

Hi Titus.  Great work on GHOP!

On Dec 21, 2007 3:05 AM, Titus Brown <titus at caltech.edu> wrote:
> Hi all,
> a bit of grep'ping and personal examination discovered the following
> tests in trunk/ that could be converted to unittest or doctests.  Any
> thoughts, pro or con?

Yes, it would be great to get rid of the old style tests.  I didn't
verify your list, but it looked good.  The most important ones to get
rid of are the ones that compare output.

It would also be great to fix the flaky tests.  Nearly all are related
to networking.  I think Raymond started a thread about some of these
issues.  (Hopefully I'll catch up on some mail over the holidays.)
The flaky tests are probably too large for GHOP, but feel free to try
fix them.  From memory the flakiest ones are:  test_xmlrpc,
test_urllib2, test_urllib2net


More information about the Python-Dev mailing list