summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/cpp_failing_0-10.txt3
-rw-r--r--python/qpid/codec.py9
2 files changed, 7 insertions, 5 deletions
diff --git a/python/cpp_failing_0-10.txt b/python/cpp_failing_0-10.txt
index 8a8a3e1b20..80e3d44935 100644
--- a/python/cpp_failing_0-10.txt
+++ b/python/cpp_failing_0-10.txt
@@ -1,3 +1,6 @@
+tests.codec.FieldTableTestCase.test_field_table_decode
+tests.codec.FieldTableTestCase.test_field_table_multiple_name_value_pair
+tests.codec.FieldTableTestCase.test_field_table_name_value_pair
tests_0-10.alternate-exchange.AlternateExchangeTests.test_immediate
tests_0-10.broker.BrokerTests.test_closed_channel
diff --git a/python/qpid/codec.py b/python/qpid/codec.py
index c54d48df52..18928698a5 100644
--- a/python/qpid/codec.py
+++ b/python/qpid/codec.py
@@ -68,11 +68,10 @@ class Codec:
dict: "table"
}
- if False:
- for constant in self.spec.constants:
- if constant.klass == "field-table-type":
- type = constant.name.replace("field_table_", "")
- self.typecode(constant.id, TYPE_ALIASES.get(type, type))
+ for constant in self.spec.constants:
+ if constant.klass == "field-table-type":
+ type = constant.name.replace("field_table_", "")
+ self.typecode(constant.id, TYPE_ALIASES.get(type, type))
if not self.types:
self.typecode(ord('S'), "longstr")