def test_map(self):
   x = TestManyTypes()
   x.a_map = dict([ (i, TestStruct(b=i)) for i in range(4) ])
   self.assertBackAndForth(x)
Beispiel #2
0
 def test_map(self):
     x = TestManyTypes()
     x.a_map = dict([(i, TestStruct(b=i)) for i in range(4)])
     self.assertBackAndForth(x)