This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rbcollins
Recipients michael.foord, olemis, rbcollins
Date 2009-04-09.12:15:22
SpamBayes Score 7.709999e-12
Marked as misclassified No
Message-id <>
Original mail:
JML's testtools has a TestResult subclass with a done() method. The
reason for this method is to allow doing things after the last test has
run. While a result can infer 'first test' it can't infer 'last test'
without ugliness like __del__.

Some uses for this are:
 - reporting summary data
 - closing external resources like log files, sockets to remote machines
 - <your idea here>

This can be added quite safely I think - check for the attribute, and if
present call it.

done() could be spelt differently - I don't think anyone would care.
Date User Action Args
2009-04-09 12:15:25rbcollinssetrecipients: + rbcollins, michael.foord, olemis
2009-04-09 12:15:24rbcollinssetmessageid: <>
2009-04-09 12:15:23rbcollinslinkissue5728 messages
2009-04-09 12:15:22rbcollinscreate