Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 688727025
  • Loading branch information
anandolee authored and copybara-github committed Oct 22, 2024
1 parent bbf7f1d commit dde0827
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pybind11_protobuf/tests/pass_by_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ def test_py_proto_check(self, check_method):
@parameterized.named_parameters(get_pass_by_params())
def test_pool_proto_check(self, check_method):
pool = descriptor_pool.Default()
factory = message_factory.MessageFactory(pool)
prototype = factory.GetPrototype(
prototype = message_factory.GetMessageClass(
pool.FindMessageTypeByName('pybind11.test.IntMessage')
)
message = prototype(value=9)
Expand Down

0 comments on commit dde0827

Please sign in to comment.