38 test: unittest.TestCase, actual: message.Message, expected: message.Message
40 """Asserts the input protos are equivalent, see module doc for details."""
41 normalized_actual = copy.deepcopy(actual)
42 normalize.math_opt_normalize_proto(normalized_actual)
43 normalized_expected = copy.deepcopy(expected)
44 normalize.math_opt_normalize_proto(normalized_expected)
45 test.assertEqual(str(normalized_actual), str(normalized_expected))