diff options
Diffstat (limited to 'python/google/protobuf/internal/symbol_database_test.py')
-rw-r--r-- | python/google/protobuf/internal/symbol_database_test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/google/protobuf/internal/symbol_database_test.py b/python/google/protobuf/internal/symbol_database_test.py index 7fb4b56d..0cb935a8 100644 --- a/python/google/protobuf/internal/symbol_database_test.py +++ b/python/google/protobuf/internal/symbol_database_test.py @@ -32,7 +32,10 @@ """Tests for google.protobuf.symbol_database.""" -import unittest +try: + import unittest2 as unittest +except ImportError: + import unittest from google.protobuf import unittest_pb2 from google.protobuf import descriptor from google.protobuf import symbol_database |