Call setUp on super, and fix import order

PiperOrigin-RevId: 512200880
pull/12033/head
Karol M. Langner 2 years ago committed by Copybara-Service
parent df2aac3b0f
commit 1b1ca24ae0
  1. 4
      python/google/protobuf/internal/proto_builder_test.py

@ -33,8 +33,8 @@
import collections
import unittest
from google.protobuf import descriptor_pb2 # pylint: disable=g-import-not-at-top
from google.protobuf import descriptor
from google.protobuf import descriptor_pb2
from google.protobuf import descriptor_pool
from google.protobuf import proto_builder
from google.protobuf import text_format
@ -43,6 +43,8 @@ from google.protobuf import text_format
class ProtoBuilderTest(unittest.TestCase):
def setUp(self):
super().setUp()
self.ordered_fields = collections.OrderedDict([
('foo', descriptor_pb2.FieldDescriptorProto.TYPE_INT64),
('bar', descriptor_pb2.FieldDescriptorProto.TYPE_STRING),

Loading…
Cancel
Save