diff options
Diffstat (limited to 'python/tests/codec010.py')
-rw-r--r-- | python/tests/codec010.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/tests/codec010.py b/python/tests/codec010.py index c849c1b0c0..835966e103 100644 --- a/python/tests/codec010.py +++ b/python/tests/codec010.py @@ -49,12 +49,16 @@ class CodecTest(TestCase): def testMapNested(self): self.check("map", {"map": {"string": "nested test"}}) + def testMapList(self): + self.check("map", {"list": [1, "two", 3.0, -4]}) + def testMapAll(self): self.check("map", {"string": "this is a test", "int": 3, "long": 2**32, "none": None, - "map": {"string": "nested map"}}) + "map": {"string": "nested map"}, + "list": [1, "two", 3.0, -4]}) def testMapEmpty(self): self.check("map", {}) |