From 51c4f612aec73b473477cacb786865c76284e002 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Wed, 22 Aug 2007 13:39:04 +0000 Subject: added support for 0-10 style header encoding git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@568607 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/testlib.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python/qpid/testlib.py') diff --git a/python/qpid/testlib.py b/python/qpid/testlib.py index c06a252f16..0b2a1b78d6 100644 --- a/python/qpid/testlib.py +++ b/python/qpid/testlib.py @@ -21,7 +21,7 @@ # Support library for qpid python tests. # -import sys, re, unittest, os, random, logging +import sys, re, unittest, os, random, logging, traceback import qpid.client, qpid.spec import Queue from fnmatch import fnmatch @@ -217,7 +217,8 @@ class TestBase(unittest.TestCase): for ch, ex in self.exchanges: ch.exchange_delete(exchange=ex) except: - print "Error on tearDown:", sys.exc_info() + print "Error on tearDown:" + print traceback.print_exc() if not self.client.closed: self.client.channel(0).connection_close(reply_code=200) -- cgit v1.2.1