class_docstr: Mix this into a googletest.TestCase class to get proto2 assertions.
  
  Usage:
  
  class SomeTestCase(compare.ProtoAssertions, googletest.TestCase):
    ...
    def testSomething(self):
      ...
      self.assertProtoEqual(a, b)
  
  See module-level definitions for method documentation.
class_docstr_tok: ["Mix","this","into","a","googletest.TestCase","class","to","get","proto2","assertions",".","Usage",":","class","SomeTestCase","(","compare.ProtoAssertions",",","googletest.TestCase",")",":","...","def","testSomething","(","self",")",":","...","self.assertProtoEqual","(","a",",","b",")","See","module-level","definitions","for","method","documentation","."]
code: def assertProtoEqual(self, *args, **kwargs):
      return assertProtoEqual(self, *args, **kwargs)
  
file_path: tensorflow/tensorflow/python/util/protobuf/compare.py
imports: import collections.abc
  import difflib
  import math
  from google.protobuf import descriptor
  from google.protobuf import descriptor_pool
  from google.protobuf import message
  from google.protobuf import text_format
label_desc: Use image node_id 1 for calling the ProtoAssertions obj's underlying member method code with example usage: obj.assertProtoEqual() and returns: assertProtoEqual