def dumps_loads(self, value): s = client.dumps((value, ), allow_none=True) result, _ = client.loads(s) result, = result self.assertEqual(value, result)
def dumps_loads(self, value): s = client.dumps((value,)) result, _ = client.loads(s) result, = result self.assertEqual(value, result)