[svn r37302] experimentally enable FD-based output capturing per-test
--HG-- branch : trunk
This commit is contained in:
parent
a1b696bdb0
commit
4963148482
|
@ -374,11 +374,11 @@ class Module(FSCollector, PyCollectorMixin):
|
|||
def startcapture(self):
|
||||
if not self.config.option.nocapture:
|
||||
assert not hasattr(self, '_capture')
|
||||
#self._capture = py.io.OutErrCapture()
|
||||
self._capture = py.io.OutErrCapture()
|
||||
# XXX integrate this into py.io / refactor
|
||||
# execnet/py.test capturing mechanisms
|
||||
from py.__.misc.simplecapture import SimpleOutErrCapture
|
||||
self._capture = SimpleOutErrCapture()
|
||||
#from py.__.misc.simplecapture import SimpleOutErrCapture
|
||||
#self._capture = SimpleOutErrCapture()
|
||||
|
||||
def finishcapture(self):
|
||||
if hasattr(self, '_capture'):
|
||||
|
|
|
@ -33,9 +33,9 @@ class Item(py.test.collect.Collector):
|
|||
def startcapture(self):
|
||||
if not self.config.option.nocapture:
|
||||
# XXX refactor integrate capturing
|
||||
#self._capture = py.io.OutErrCapture()
|
||||
from py.__.misc.simplecapture import SimpleOutErrCapture
|
||||
self._capture = SimpleOutErrCapture()
|
||||
self._capture = py.io.OutErrCapture()
|
||||
#from py.__.misc.simplecapture import SimpleOutErrCapture
|
||||
#self._capture = SimpleOutErrCapture()
|
||||
|
||||
def finishcapture(self):
|
||||
if hasattr(self, '_capture'):
|
||||
|
|
Loading…
Reference in New Issue