Fix Python 2.6 test failures.

Change-Id: Ia9e2795b1ff1abb30410ffb3ef96ba6f46dd99d0
This commit is contained in:
Feng Xiao 2015-12-21 13:43:13 -08:00
parent 8675989bf7
commit a0b8fd52b9

View File

@ -36,10 +36,14 @@ __author__ = 'jieluo@google.com (Jie Luo)'
from datetime import datetime
try:
import unittest2 as unittest
except ImportError:
import unittest
from google.protobuf import duration_pb2
from google.protobuf import field_mask_pb2
from google.protobuf import timestamp_pb2
import unittest
from google.protobuf import unittest_pb2
from google.protobuf.internal import test_util
from google.protobuf.internal import well_known_types