From 1a7f2e77e8796d2dfb185f476b96cc6b37a1e4df Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sat, 6 Nov 2010 20:12:45 +0100 Subject: [PATCH] show return values of hooks more explicitely --- pytest/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest/main.py b/pytest/main.py index 419de31d2..7212f087e 100644 --- a/pytest/main.py +++ b/pytest/main.py @@ -392,7 +392,7 @@ class HookCaller: try: res = mc.execute() if res: - self.trace(res) + self.trace("finish", self.name, "-->", res) finally: self.trace.root.indent -= 1 return res