Michael Foord <mich...@voidspace.org.uk> added the comment:

A TestSuite (which is how tests are collected to run) holds all the tests and 
therefore keeps them all alive for the duration of the test run. (I presume 
this is the issue anyway.)

How would you solve this - by having calling a TestSuite (which is how a test 
run is executed) remove members from themselves after each test execution? (Any 
failure tracebacks etc stored by the TestResult would also have to not keep the 
test alive.)

My only concern would be backwards compatibility due to the change in behaviour.

----------
assignee:  -> michael.foord
nosy: +michael.foord

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11798>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to