summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/qpid/spec010.py2
-rw-r--r--python/tests/codec010.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/qpid/spec010.py b/python/qpid/spec010.py
index 58d305aa6c..9db73ae7cf 100644
--- a/python/qpid/spec010.py
+++ b/python/qpid/spec010.py
@@ -447,7 +447,7 @@ class Spec(Node):
ENCODINGS = {
basestring: "vbin16",
- int: "int32",
+ int: "int64",
long: "int64",
None.__class__: "void",
list: "list",
diff --git a/python/tests/codec010.py b/python/tests/codec010.py
index 65d4525758..bd3f875ac4 100644
--- a/python/tests/codec010.py
+++ b/python/tests/codec010.py
@@ -32,7 +32,7 @@ class CodecTest(TestCase):
sc = StringCodec(self.spec)
t.encode(sc, value)
decoded = t.decode(sc)
- assert decoded == value
+ assert decoded == value, "%s, %s" % (decoded, value)
def testMapString(self):
self.check("map", {"string": "this is a test"})