diff options
author | Rafael H. Schloming <rhs@apache.org> | 2009-03-25 18:22:55 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2009-03-25 18:22:55 +0000 |
commit | 2d716942ffd99eb04a723ceb43709305a2eb2244 (patch) | |
tree | 3ccf86d88435ac29a06a1ea2d48469535bf7768e /python/tests_0-10/example.py | |
parent | d84587631a8c6c95bc80bc7ce28dae69e07e6376 (diff) | |
download | qpid-python-2d716942ffd99eb04a723ceb43709305a2eb2244.tar.gz |
use longs for large hex constant literals, this avoids scary looking warnings on earlier versions of python
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@758389 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests_0-10/example.py')
-rw-r--r-- | python/tests_0-10/example.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests_0-10/example.py b/python/tests_0-10/example.py index 83d208192b..e36907d501 100644 --- a/python/tests_0-10/example.py +++ b/python/tests_0-10/example.py @@ -69,8 +69,8 @@ class ExampleTest (TestBase010): # field that is filled if the reply includes content. In this case the # interesting field is the consumer_tag. session.message_subscribe(queue="test-queue", destination="consumer_tag") - session.message_flow(destination="consumer_tag", unit=session.credit_unit.message, value=0xFFFFFFFF) - session.message_flow(destination="consumer_tag", unit=session.credit_unit.byte, value=0xFFFFFFFF) + session.message_flow(destination="consumer_tag", unit=session.credit_unit.message, value=0xFFFFFFFFL) + session.message_flow(destination="consumer_tag", unit=session.credit_unit.byte, value=0xFFFFFFFFL) # We can use the session.incoming(...) method to access the messages # delivered for our consumer_tag. |