Skip to content

Commit

Permalink
fixup: remove incorrect test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerv authored and Tomer_Vromen committed May 21, 2022
1 parent 7290cc1 commit fe4f666
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/google/protobuf/internal/descriptor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def testFindMethodByName(self):
service_descriptor = (unittest_custom_options_pb2.
TestServiceWithCustomOptions.DESCRIPTOR)
method_descriptor = service_descriptor.FindMethodByName('Foo')
self.assertEqual(type(method_descriptor), descriptor.MethodDescriptor)
self.assertEqual(method_descriptor.name, 'Foo')
with self.assertRaises(KeyError):
service_descriptor.FindMethodByName('MethodDoesNotExist')
Expand Down

0 comments on commit fe4f666

Please sign in to comment.