#1478 Add doc and remove print
This commit is contained in:
parent
71367881ed
commit
da5882c2d5
|
@ -630,7 +630,6 @@ class TerminalReporter:
|
|||
if self.config.option.showcapture == 'no':
|
||||
return
|
||||
for secname, content in rep.sections:
|
||||
print(self.config.option.showcapture)
|
||||
if self.config.option.showcapture != 'both':
|
||||
if not (self.config.option.showcapture in secname):
|
||||
continue
|
||||
|
|
|
@ -9,7 +9,8 @@ Default stdout/stderr/stdin capturing behaviour
|
|||
|
||||
During test execution any output sent to ``stdout`` and ``stderr`` is
|
||||
captured. If a test or a setup method fails its according captured
|
||||
output will usually be shown along with the failure traceback.
|
||||
output will usually be shown along with the failure traceback. (this
|
||||
behavior can be configured by the ``--show-capture`` command-line option).
|
||||
|
||||
In addition, ``stdin`` is set to a "null" object which will
|
||||
fail on attempts to read from it because it is rarely desired
|
||||
|
|
Loading…
Reference in New Issue