aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/internal
diff options
context:
space:
mode:
authorGravatar Jisi Liu <jisi.liu@gmail.com>2016-03-31 15:26:22 -0700
committerGravatar Jisi Liu <jisi.liu@gmail.com>2016-03-31 15:26:22 -0700
commit012ac9a0a6d025d3fd874414e8646ead0812aa7a (patch)
treef5a26dbf037983c75d8645b0f3f10beb8f3db832 /python/google/protobuf/internal
parentbc1f2e7e6e416aa3428817dd3e43e531e81b399d (diff)
revert unexpected change for py26
Diffstat (limited to 'python/google/protobuf/internal')
-rw-r--r--python/google/protobuf/internal/proto_builder_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/google/protobuf/internal/proto_builder_test.py b/python/google/protobuf/internal/proto_builder_test.py
index 880b570d..822ad895 100644
--- a/python/google/protobuf/internal/proto_builder_test.py
+++ b/python/google/protobuf/internal/proto_builder_test.py
@@ -36,7 +36,10 @@ try:
from collections import OrderedDict
except ImportError:
from ordereddict import OrderedDict #PY26
-import unittest
+try:
+ import unittest2 as unittest
+except ImportError:
+ import unittest
from google.protobuf import descriptor_pb2
from google.protobuf import descriptor_pool
from google.protobuf import proto_builder