[py-svn] r37381 - py/trunk/py/test
fijal at codespeak.net
fijal at codespeak.net
Fri Jan 26 12:50:23 CET 2007
Author: fijal
Date: Fri Jan 26 12:50:22 2007
New Revision: 37381
Modified:
py/trunk/py/test/collect.py
Log:
Add a shortcut.
Modified: py/trunk/py/test/collect.py
==============================================================================
--- py/trunk/py/test/collect.py (original)
+++ py/trunk/py/test/collect.py Fri Jan 26 12:50:22 2007
@@ -250,7 +250,12 @@
def finishcapture(self):
return None # by default collectors don't capture output
def getouterr(self):
- return self.captured_out, self.captured_err
+ return self.captured_out, self.captured_err
+
+ def get_collector_trail(self):
+ """ Shortcut
+ """
+ return self.config.get_collector_trail(self)
class FSCollector(Collector):
def __init__(self, fspath, parent=None):
More information about the pytest-commit
mailing list