code: def testPrintExoticAsOneLine(self):
      message = unittest_pb2.TestAllTypes()
      message.repeated_int64.append(-9223372036854775808)
      message.repeated_uint64.append(18446744073709551615)
      message.repeated_double.append(123.456)
      message.repeated_double.append(1.23e22)
      message.repeated_double.append(1.23e-18)
      message.repeated_string.append("\000\001\a\b\f\n\r\t\v\\'\"")
      message.repeated_string.append("\u00fc\ua71f")
      self.CompareToGoldenText(
          self.RemoveRedundantZeros(
              text_format.MessageToString(message, as_one_line=True)
          ),
          "repeated_int64: -9223372036854775808"
          " repeated_uint64: 18446744073709551615"
          " repeated_double: 123.456"
          " repeated_double: 1.23e+22"
          " repeated_double: 1.23e-18"
          " repeated_string: "
          '"\\000\\001\\007\\010\\014\\n\\r\\t\\013\\\\\\\'\\""'
          ' repeated_string: "\\303\\274\\352\\234\\237"',
      )
  
imports: import difflib
  import re
  import unittest
  from google.protobuf import text_format
  from google.protobuf.internal import test_util
  from google.protobuf import unittest_pb2
  from google.protobuf import unittest_mset_pb2
label_desc: Use image node_id 13 for calling the TextFormatTest obj's underlying member method code with example usage: obj.testPrintExoticAsOneLine() without return types