Remove references to deprecated syntax field (#32497)

This will be replaced by editions in an upcoming release, but for now
these uses are blocking migration
pull/32504/head
Mike Kruskal 2 years ago committed by GitHub
parent 292d0a55aa
commit 193a3f88ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/python/grpcio_tests/tests/reflection/_reflection_client_test.py

@ -69,14 +69,12 @@ class ReflectionClientTest(unittest.TestCase):
file_desc = self.desc_pool.FindFileByName(file_name)
self.assertEqual(file_name, file_desc.name)
self.assertEqual(_PROTO_PACKAGE_NAME, file_desc.package)
self.assertEqual("proto3", file_desc.syntax)
self.assertIn("TestService", file_desc.services_by_name)
file_name = _EMPTY_PROTO_FILE_NAME
file_desc = self.desc_pool.FindFileByName(file_name)
self.assertEqual(file_name, file_desc.name)
self.assertEqual(_PROTO_PACKAGE_NAME, file_desc.package)
self.assertEqual("proto3", file_desc.syntax)
self.assertIn("Empty", file_desc.message_types_by_name)
def testFindFileError(self):

Loading…
Cancel
Save