aboutsummaryrefslogtreecommitdiff
path: root/python/google/protobuf/internal/text_encoding_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/google/protobuf/internal/text_encoding_test.py')
-rwxr-xr-xpython/google/protobuf/internal/text_encoding_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/google/protobuf/internal/text_encoding_test.py b/python/google/protobuf/internal/text_encoding_test.py
index 338a287b..c7d182c4 100755
--- a/python/google/protobuf/internal/text_encoding_test.py
+++ b/python/google/protobuf/internal/text_encoding_test.py
@@ -33,9 +33,10 @@
"""Tests for google.protobuf.text_encoding."""
try:
- import unittest2 as unittest
+ import unittest2 as unittest #PY26
except ImportError:
import unittest
+
from google.protobuf import text_encoding
TEST_VALUES = [