summaryrefslogtreecommitdiff
path: root/python/tests_0-10/example.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests_0-10/example.py')
-rw-r--r--python/tests_0-10/example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests_0-10/example.py b/python/tests_0-10/example.py
index fd10a8df4f..1e140a285d 100644
--- a/python/tests_0-10/example.py
+++ b/python/tests_0-10/example.py
@@ -60,7 +60,7 @@ class ExampleTest (TestBase010):
session.exchange_declare("test", "direct")
# Here we use keyword arguments.
- session.queue_declare(session, queue="test-queue", exclusive=True, auto_delete=True)
+ session.queue_declare(queue="test-queue", exclusive=True, auto_delete=True)
session.exchange_bind(queue="test-queue", exchange="test", binding_key="key")
# Call Session.subscribe to register as a consumer.