[Telepathy-commits] [telepathy-gabble/master] When failing a test due to an exception, print it
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Aug 19 10:54:22 PDT 2008
20080731191408-53eee-6eb52b1cfdf7ea3486546db6cfc7ec10de1d9de8.gz
---
tests/twisted/gabbletest.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/gabbletest.py b/tests/twisted/gabbletest.py
index 5a99e93..05d0aaf 100644
--- a/tests/twisted/gabbletest.py
+++ b/tests/twisted/gabbletest.py
@@ -313,6 +313,8 @@ def exec_test_deferred (fun, params, protocol=None, timeout=None):
try:
fun(queue, bus, conn, stream)
except Exception, e:
+ import traceback
+ traceback.print_exc()
error = e
try:
--
1.5.6.3
More information about the Telepathy-commits
mailing list