This is an automated email from the ASF dual-hosted git repository. jdanek pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-python.git
commit 4f8c376332697a84b9a41b2c5cef7abbc0c5775c Author: Jiri Daněk <jda...@redhat.com> AuthorDate: Sat Sep 30 10:04:37 2023 +0200 QPID-8631: fix qpid.tests.codec.IntegerTestCase.test_ulong_long_int_with_fraction on Python 3 --- qpid/codec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qpid/codec.py b/qpid/codec.py index 3b61677..c9f12e2 100644 --- a/qpid/codec.py +++ b/qpid/codec.py @@ -354,7 +354,7 @@ class Codec: encodes an UNSIGNED long long (64 bits) data 'o' in network byte order AMQP 0-9-1 type: long-long-uint """ - self.pack("!Q", o) + self.pack("!Q", long(o)) def decode_longlong(self): """ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org