summaryrefslogtreecommitdiff
path: root/python/tests
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/broker.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/tests/broker.py b/python/tests/broker.py
index ebb3a525f5..2cdfd233f7 100644
--- a/python/tests/broker.py
+++ b/python/tests/broker.py
@@ -105,5 +105,6 @@ class BrokerTests(TestBase):
channel.queue_declare(exclusive=True)
self.fail("Expected error on queue_declare for closed channel")
except Closed, e:
+ if isinstance(e.args[0], str): self.fail(e)
self.assertConnectionException(504, e.args[0])