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 pitrou
Recipients ezio.melotti, michael.foord, pitrou
Date 2014-08-14.15:39:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408030741.18.0.985330245232.issue22197@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, test cases have no control over output and verbosity. I would propose two possible enhancements:
- give the TestCase read access to the verbosity value (as e.g. `self.verbosity`), to allow for conditional output in tests
- allow test methods to force output buffering (rather than only let the user specify it on the command line), because you would like some stuff to only be printed out on failure; a decorator would IMO be fine
History
Date User Action Args
2014-08-14 15:39:01pitrousetrecipients: + pitrou, ezio.melotti, michael.foord
2014-08-14 15:39:01pitrousetmessageid: <1408030741.18.0.985330245232.issue22197@psf.upfronthosting.co.za>
2014-08-14 15:39:01pitroulinkissue22197 messages
2014-08-14 15:39:00pitroucreate