code: def testPositiveInfinity(self):
      golden_data = (
          "\x5D\x00\x00\x80\x7F"
          "\x61\x00\x00\x00\x00\x00\x00\xF0\x7F"
          "\xCD\x02\x00\x00\x80\x7F"
          "\xD1\x02\x00\x00\x00\x00\x00\x00\xF0\x7F"
      )
      golden_message = unittest_pb2.TestAllTypes()
      golden_message.ParseFromString(golden_data)
      self.assertTrue(IsPosInf(golden_message.optional_float))
      self.assertTrue(IsPosInf(golden_message.optional_double))
      self.assertTrue(IsPosInf(golden_message.repeated_float[0]))
      self.assertTrue(IsPosInf(golden_message.repeated_double[0]))
      self.assertEqual(golden_data, golden_message.SerializeToString())
  
imports: import copy
  import math
  import operator
  import pickle
  import unittest
  from google.protobuf import unittest_import_pb2
  from google.protobuf import unittest_pb2
  from google.protobuf.internal import api_implementation
  from google.protobuf.internal import test_util
  from google.protobuf import message
label_desc: Use image node_id 7 for calling the MessageTest obj's underlying member method code with example usage: obj.testPositiveInfinity() without return types