code: def test_serialize_shape(self):
      round_trip = json.loads(
          json.dumps(
              tensor_shape.TensorShape([None, 2, 3]),
              default=serialization.get_json_type,
          )
      )
      self.assertIs(round_trip[0], None)
      self.assertEqual(round_trip[1], 2)
  
imports: import json
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.platform import test
  from tensorflow.python.util import serialization
label_desc: Use image node_id 1 for calling the SerializationTests obj's underlying member method code with example usage: obj.test_serialize_shape() without return types