Message188436
> OTOH it's a useful option to have in case you're tracking down
> something that happens (or doesn't happen) when an object is collected
IMO this is a good reason to implement your specific tearDown method (or call addCleanup if you prefer), possibly in a shared base class.
I don't think this is a good candidate for a command-line option, it's too specialized and it's also not something which should be enabled blindly. In other words, each test case should know whether it needs a collection or not. |
|
| Date |
User |
Action |
Args |
| 2013-05-05 11:29:55 | pitrou | set | recipients:
+ pitrou, gvanrossum, giampaolo.rodola, ezio.melotti, michael.foord |
| 2013-05-05 11:29:55 | pitrou | set | messageid: <[email protected]> |
| 2013-05-05 11:29:55 | pitrou | link | issue17908 messages |
| 2013-05-05 11:29:55 | pitrou | create | |
|