Fix python descriptor test.

This commit is contained in:
Jisi Liu 2017-12-14 11:16:34 -08:00
parent 22e1cfd84a
commit 594ec2262c

View File

@ -742,6 +742,19 @@ class DescriptorCopyToProtoTest(unittest.TestCase):
deprecated: true
>
>
field {
name: "deprecated_int32_in_oneof"
number: 2
label: LABEL_OPTIONAL
type: TYPE_INT32
options {
deprecated: true
}
oneof_index: 0
}
oneof_decl {
name: "oneof_fields"
}
"""
self._InternalTestCopyToProto(