summaryrefslogtreecommitdiff
path: root/python/qpid/testlib.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2007-08-22 13:39:04 +0000
committerRafael H. Schloming <rhs@apache.org>2007-08-22 13:39:04 +0000
commit51c4f612aec73b473477cacb786865c76284e002 (patch)
tree64ab65d87efae9f81ca6e342693cb44f53e458c5 /python/qpid/testlib.py
parentcaa402b97879d849273604842c1ec6bb63e40f26 (diff)
downloadqpid-python-51c4f612aec73b473477cacb786865c76284e002.tar.gz
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
Diffstat (limited to 'python/qpid/testlib.py')
-rw-r--r--python/qpid/testlib.py5
1 files changed, 3 insertions, 2 deletions
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)