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 | af4d1bb1ec4a47a927aa9cf3d7fbad7491e99dae (patch) | |
| tree | a5bf60937fc05331729410ef5f40c6e44b6f263c /qpid/python/tests_0-10/persistence.py | |
| parent | c411cf0bc8e6b3be2630e6db4be99fe1047e8c03 (diff) | |
| download | qpid-python-af4d1bb1ec4a47a927aa9cf3d7fbad7491e99dae.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@758389 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests_0-10/persistence.py')
| -rw-r--r-- | qpid/python/tests_0-10/persistence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/tests_0-10/persistence.py b/qpid/python/tests_0-10/persistence.py index 815ad1f3dc..b93bb0bbfb 100644 --- a/qpid/python/tests_0-10/persistence.py +++ b/qpid/python/tests_0-10/persistence.py @@ -49,7 +49,7 @@ class PersistenceTests(TestBase010): #create consumer session.message_subscribe(queue = "q", destination = "a", accept_mode = 1, acquire_mode=0) - session.message_flow(unit = session.credit_unit.byte, value = 0xFFFFFFFF, destination = "a") + session.message_flow(unit = session.credit_unit.byte, value = 0xFFFFFFFFL, destination = "a") session.message_flow(unit = session.credit_unit.message, value = 10, destination = "a") queue = session.incoming("a") |
