code: def testUnpackTag(self):
      # Test field numbers that will require various varint sizes.
      for expected_field_number in (1, 15, 16, 2047, 2048):
          for expected_wire_type in range(
              6
          ):  # Highest-numbered wiretype is 5.
              field_number, wire_type = wire_format.UnpackTag(
                  wire_format.PackTag(
                      expected_field_number, expected_wire_type
                  )
              )
              self.assertEqual(expected_field_number, field_number)
              self.assertEqual(expected_wire_type, wire_type)
  
      self.assertRaises(TypeError, wire_format.UnpackTag, None)
      self.assertRaises(TypeError, wire_format.UnpackTag, "abc")
      self.assertRaises(TypeError, wire_format.UnpackTag, 0.0)
      self.assertRaises(TypeError, wire_format.UnpackTag, object())
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/deps/protobuf/python/google/protobuf/internal/wire_format_test.py
imports: from google.protobuf import message
  from google.protobuf.internal import wire_format
label_desc: Use image node_id 2 for calling the WireFormatTest obj's underlying member method code with example usage: obj.testUnpackTag() without return types