aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/internal/proto_builder_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/google/protobuf/internal/proto_builder_test.py')
-rw-r--r--python/google/protobuf/internal/proto_builder_test.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/python/google/protobuf/internal/proto_builder_test.py b/python/google/protobuf/internal/proto_builder_test.py
index 1eda10fb..e0467251 100644
--- a/python/google/protobuf/internal/proto_builder_test.py
+++ b/python/google/protobuf/internal/proto_builder_test.py
@@ -34,14 +34,10 @@
try:
from collections import OrderedDict
-except ImportError:
- from ordereddict import OrderedDict #PY26
-
-try:
- import unittest2 as unittest #PY26
except ImportError:
- import unittest
-
+ from ordereddict import OrderedDict #PY26
+import collections
+import unittest
from google.protobuf import descriptor_pb2
from google.protobuf import descriptor_pool
from google.protobuf import proto_builder