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 vstinner
Recipients asvetlov, azsorkin, ezio.melotti, giampaolo.rodola, gvanrossum, michael.foord, pconnell, pitrou, rbcollins, serhiy.storchaka, vstinner
Date 2015-10-13.20:03:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444766632.6.0.290827976796.issue17908@psf.upfronthosting.co.za>
In-reply-to
Content
While I like the idea of adding an option to force a garbage collection after running each time, I don't like how unittest is growing :-( It looks more and more like regrtest and I hate regrtest (I reworked its code recently to create a less ugly "libregrtes").

Once Antoine Pitrou proposed to add "plugins" to unittest. I agree that we need a gate between unittest and all other test frameworks: nose, py.test, testtools/testrepository/testr, etc.

Seriously, don't you think that something is wrong with such API?

def __init__(self, module='__main__', defaultTest=None, argv=None,
             testRunner=None, testLoader=loader.defaultTestLoader,
             exit=True, verbosity=1, failfast=None, catchbreak=None,
             buffer=None, warnings=None, *, tb_locals=False,
             gc_enabled=False):
History
Date User Action Args
2015-10-13 20:03:52vstinnersetrecipients: + vstinner, gvanrossum, pitrou, giampaolo.rodola, rbcollins, ezio.melotti, michael.foord, asvetlov, serhiy.storchaka, pconnell, azsorkin
2015-10-13 20:03:52vstinnersetmessageid: <1444766632.6.0.290827976796.issue17908@psf.upfronthosting.co.za>
2015-10-13 20:03:52vstinnerlinkissue17908 messages
2015-10-13 20:03:52vstinnercreate