New submission from Antoine Pitrou:

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

----------
components: Library (Lib)
messages: 225304
nosy: ezio.melotti, michael.foord, pitrou
priority: normal
severity: normal
status: open
title: Allow better verbosity / output control in test cases
type: enhancement
versions: Python 3.5

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

Reply via email to