Skip to content

Commit

Permalink
internal change for protobuf
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 573332204
  • Loading branch information
anandolee authored and copybara-github committed Oct 13, 2023
1 parent 0ffef4a commit 6c081a7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pybind11_protobuf/tests/message_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,15 @@ def test_text_format_to_string(self):

def test_text_format_parse(self):
message = text_format.Parse(m.TEXT_FORMAT_MESSAGE, m.make_test_message())
self.assertMultiLineEqual(str(message), m.TEXT_FORMAT_MESSAGE)
self.assertMultiLineEqual(
text_format.MessageToString(message), m.TEXT_FORMAT_MESSAGE
)

def test_text_format_merge(self):
message = text_format.Merge(m.TEXT_FORMAT_MESSAGE, m.make_test_message())
self.assertMultiLineEqual(str(message), m.TEXT_FORMAT_MESSAGE)
self.assertMultiLineEqual(
text_format.MessageToString(message), m.TEXT_FORMAT_MESSAGE
)

def test_proto_2_equal(self):
self.assertProtoEqual(m.TEXT_FORMAT_MESSAGE,
Expand Down

0 comments on commit 6c081a7

Please sign in to comment.