From c72120b8fcec690fad46ea251dce8354dde2a970 Mon Sep 17 00:00:00 2001 From: fijal Date: Fri, 26 Jan 2007 12:50:22 +0100 Subject: [PATCH] [svn r37381] Add a shortcut. --HG-- branch : trunk --- py/test/collect.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/py/test/collect.py b/py/test/collect.py index 2637aaa65..aa7ddc9e1 100644 --- a/py/test/collect.py +++ b/py/test/collect.py @@ -250,7 +250,12 @@ class Collector(object): 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):